$(document).ready(function () { chart = new Highcharts.StockChart({ chart: { renderTo: 'chart', type: 'line', animation: false, showAxes: true, height: 500 }, xAxis: { ordinal: false, type: 'datetime', showEmpty: true, gridLineWidth: 1, gridLineDashStyle: 'dot', ordinal: false }, yAxis: { title: {text: 'Курс HUF, грн'}, lineWidth: 3, gridLineWidth: 1, gridLineDashStyle: 'dash', ordinal: false }, plotOptions: { series: {connectNulls: true, shadow: false}, spline: {marker: {enabled: true}} }, tooltip: {valueDecimals: 8, xDateFormat: '%d %b %Y', shared: true}, series: [ { name: 'Курс HUF', data: [[1136246400000,0.0235595],[1136332800000,0.0235595],[1136419200000,0.0235595],[1136505600000,0.0243758],[1136592000000,0.0243509],[1136678400000,0.0243509],[1136764800000,0.0243509],[1136851200000,0.0243509],[1136937600000,0.0243109],[1137024000000,0.0244295],[1137110400000,0.0244497],[1137196800000,0.0242693],[1137283200000,0.0242693],[1137369600000,0.0242693],[1137456000000,0.024435],[1137542400000,0.0243837],[1137628800000,0.0243184],[1137715200000,0.0242536],[1137801600000,0.024319],[1137888000000,0.024319],[1137974400000,0.024319],[1138060800000,0.0247995],[1138147200000,0.0247914],[1138233600000,0.0249587],[1138320000000,0.0247987],[1138406400000,0.0244379],[1138492800000,0.0244379],[1138579200000,0.0244379],[1138665600000,0.0242466],[1138752000000,null],[1138838400000,null],[1138924800000,null],[1139011200000,null],[1139097600000,null],[1139184000000,0.0241668],[1139270400000,0.0241668],[1139356800000,0.0241951],[1139443200000,0.0240111],[1139529600000,0.0240881],[1139616000000,0.0241128],[1139702400000,0.0241128],[1139788800000,0.0241128],[1139875200000,0.0238838],[1139961600000,0.0238887],[1140048000000,0.023957],[1140134400000,0.0238644],[1140220800000,0.0238014],[1140307200000,0.0238014],[1140393600000,0.0238014],[1140480000000,0.0239418],[1140566400000,0.0238716],[1140652800000,0.0236741],[1140739200000,0.0238611],[1140825600000,0.0237666],[1140912000000,0.0237666],[1140998400000,0.0237666],[1141084800000,0.023704],[1141171200000,0.0236815],[1141257600000,0.0238212],[1141344000000,0.0237676],[1141430400000,0.0238539],[1141516800000,0.0238539],[1141603200000,0.0238539],[1141689600000,0.0238245],[1141776000000,0.023561],[1141862400000,0.023561],[1141948800000,0.0233998],[1142035200000,0.0232658],[1142121600000,0.0232658],[1142208000000,0.0232658],[1142294400000,0.0230286],[1142380800000,0.022862],[1142467200000,0.0231419],[1142553600000,0.0232859],[1142640000000,0.0237446],[1142726400000,0.0237446],[1142812800000,0.0237446],[1142899200000,0.0235028],[1142985600000,0.0232467],[1143072000000,0.022913],[1143158400000,0.0231474],[1143244800000,0.0228537],[1143331200000,0.0228537],[1143417600000,0.0228537],[1143504000000,0.0229867],[1143590400000,0.0229104],[1143676800000,0.0226938],[1143763200000,0.0230161],[1143849600000,0.0230019],[1143936000000,0.0230019],[1144022400000,0.0230019],[1144108800000,0.0231426],[1144195200000,0.0233158],[1144281600000,0.0232592],[1144368000000,0.0231981],[1144454400000,0.0230291],[1144540800000,0.0230291],[1144627200000,0.0230291],[1144713600000,0.0228599],[1144800000000,0.0230715],[1144886400000,0.0230878],[1144972800000,0.022812],[1145059200000,0.022812],[1145145600000,0.022812],[1145232000000,0.022812],[1145318400000,0.022812],[1145404800000,0.0232019],[1145491200000,0.0235673],[1145577600000,0.0234186],[1145664000000,0.0234178],[1145750400000,0.0234178],[1145836800000,0.0234178],[1145923200000,0.0234178],[1146009600000,0.0238171],[1146096000000,0.0236083],[1146182400000,0.023623],[1146268800000,0.0239745],[1146355200000,0.0239745],[1146441600000,0.0239745],[1146528000000,0.0239745],[1146614400000,0.0239745],[1146700800000,0.0244425],[1146787200000,0.0243573],[1146873600000,0.024663],[1146960000000,0.024663],[1147046400000,0.024663],[1147132800000,0.024663],[1147219200000,0.024663],[1147305600000,0.0247665],[1147392000000,0.0246236],[1147478400000,0.0246069],[1147564800000,0.0246069],[1147651200000,0.0246069],[1147737600000,0.0241702],[1147824000000,0.0246265],[1147910400000,0.0247646],[1147996800000,0.0243096],[1148083200000,0.0244541],[1148169600000,0.0244541],[1148256000000,0.0244541],[1148342400000,0.0243673],[1148428800000,0.0247291],[1148515200000,0.024645],[1148601600000,0.0245429],[1148688000000,0.0247453],[1148774400000,0.0247453],[1148860800000,0.0247453],[1148947200000,0.0246888],[1149033600000,0.0247933],[1149120000000,0.0247943],[1149206400000,0.0244365],[1149292800000,0.0247139],[1149379200000,0.0247139],[1149465600000,0.0247139],[1149552000000,0.0247927],[1149638400000,0.0246261],[1149724800000,0.0245718],[1149811200000,0.0243209],[1149897600000,0.0242041],[1149984000000,0.0242041],[1150070400000,0.0242041],[1150156800000,0.0242041],[1150243200000,0.023449],[1150329600000,0.0235717],[1150416000000,0.0234551],[1150502400000,0.0234192],[1150588800000,0.0234192],[1150675200000,0.0234192],[1150761600000,0.0230822],[1150848000000,0.0229323],[1150934400000,0.0228431],[1151020800000,0.0227714],[1151107200000,0.0224808],[1151193600000,0.0224808],[1151280000000,0.0224808],[1151366400000,0.0226506],[1151452800000,0.0227361],[1151539200000,0.0227361],[1151625600000,0.0223416],[1151712000000,0.0226577],[1151798400000,0.0226577],[1151884800000,0.0226577],[1151971200000,0.0228611],[1152057600000,0.0230728],[1152144000000,0.023079],[1152230400000,0.0228437],[1152316800000,0.0229428],[1152403200000,0.0229428],[1152489600000,0.0229428],[1152576000000,0.0229173],[1152662400000,0.0232594],[1152748800000,0.0231517],[1152835200000,0.0228967],[1152921600000,0.0226459],[1153008000000,0.0226459],[1153094400000,0.0226459],[1153180800000,0.0225815],[1153267200000,0.0227264],[1153353600000,0.0226847],[1153440000000,0.0232171],[1153526400000,0.023194],[1153612800000,0.023194],[1153699200000,0.023194],[1153785600000,0.0231097],[1153872000000,0.0234258],[1153958400000,0.0232999],[1154044800000,0.0236791],[1154131200000,0.0235425],[1154217600000,0.0235425],[1154304000000,0.0235425],[1154390400000,0.0236834],[1154476800000,0.0235837],[1154563200000,0.0236497],[1154649600000,0.0236209],[1154736000000,0.0236438],[1154822400000,0.0236438],[1154908800000,0.0236438],[1154995200000,0.0240076],[1155081600000,0.0239551],[1155168000000,0.024126],[1155254400000,0.0240153],[1155340800000,0.023871],[1155427200000,0.023871],[1155513600000,0.023871],[1155600000000,0.0234495],[1155686400000,0.023344],[1155772800000,0.023399],[1155859200000,0.0237325],[1155945600000,0.0233385],[1156032000000,0.0233385],[1156118400000,0.0233385],[1156204800000,0.0234208],[1156291200000,0.023313],[1156377600000,0.023472],[1156464000000,0.023472],[1156550400000,0.023472],[1156636800000,0.023472],[1156723200000,0.023472],[1156809600000,0.0233923],[1156896000000,0.0234843],[1156982400000,0.0234295],[1157068800000,0.0236292],[1157155200000,0.023312],[1157241600000,0.023312],[1157328000000,0.023312],[1157414400000,0.0234119],[1157500800000,0.0234225],[1157587200000,0.0234585],[1157673600000,0.0232578],[1157760000000,0.0233584],[1157846400000,0.0233584],[1157932800000,0.0233584],[1158019200000,0.023384],[1158105600000,0.0233971],[1158192000000,0.023385],[1158278400000,0.023524],[1158364800000,0.0234869],[1158451200000,0.0234869],[1158537600000,0.0234869],[1158624000000,0.0236244],[1158710400000,0.0233674],[1158796800000,0.023408],[1158883200000,0.023423],[1158969600000,0.0233693],[1159056000000,0.0233693],[1159142400000,0.0233693],[1159228800000,0.0234826],[1159315200000,0.0234765],[1159401600000,0.0234091],[1159488000000,0.0234875],[1159574400000,0.0234187],[1159660800000,0.0234187],[1159747200000,0.0234187],[1159833600000,0.0232943],[1159920000000,0.0234136],[1160006400000,0.0232181],[1160092800000,0.0234115],[1160179200000,0.023361],[1160265600000,0.023361],[1160352000000,0.023361],[1160438400000,0.0233964],[1160524800000,0.0233875],[1160611200000,0.0236917],[1160697600000,0.0237178],[1160784000000,0.0238845],[1160870400000,0.0238845],[1160956800000,0.0238845],[1161043200000,0.0238134],[1161129600000,0.0237126],[1161216000000,0.0237405],[1161302400000,0.0240851],[1161388800000,0.0242561],[1161475200000,0.0242561],[1161561600000,0.0242561],[1161648000000,0.0240664],[1161734400000,0.024088],[1161820800000,0.0241675],[1161907200000,0.0244734],[1161993600000,0.0244743],[1162080000000,0.0244743],[1162166400000,0.0244743],[1162252800000,0.0244297],[1162339200000,0.0246387],[1162425600000,0.0248411],[1162512000000,0.0247641],[1162598400000,0.0247486],[1162684800000,0.0247486],[1162771200000,0.0247486],[1162857600000,0.0247359],[1162944000000,0.0247095],[1163030400000,0.0246631],[1163116800000,0.0248748],[1163203200000,0.0249092],[1163289600000,0.0249092],[1163376000000,0.0249092],[1163462400000,0.0248911],[1163548800000,0.0250643],[1163635200000,0.0250726],[1163721600000,0.0251557],[1163808000000,0.02505],[1163894400000,0.02505],[1163980800000,0.02505],[1164067200000,0.0250588],[1164153600000,0.0251989],[1164240000000,0.0252765],[1164326400000,0.025292],[1164412800000,0.0254642],[1164499200000,0.0254642],[1164585600000,0.0254642],[1164672000000,0.025644],[1164758400000,0.0256748],[1164844800000,0.0258372],[1164931200000,0.0260116],[1165017600000,0.0261136],[1165104000000,0.0261136],[1165190400000,0.0261136],[1165276800000,0.0262101],[1165363200000,0.0263489],[1165449600000,0.0262466],[1165536000000,0.0262263],[1165622400000,0.0261451],[1165708800000,0.0261451],[1165795200000,0.0261451],[1165881600000,0.0260049],[1165968000000,0.0263336],[1166054400000,0.0264274],[1166140800000,0.0262924],[1166227200000,0.026122],[1166313600000,0.026122],[1166400000000,0.026122],[1166486400000,0.0261455],[1166572800000,0.0262505],[1166659200000,0.0264689],[1166745600000,0.0264031],[1166832000000,0.0264122],[1166918400000,0.0264122],[1167004800000,0.0264122],[1167091200000,0.0264122],[1167177600000,0.0264122],[1167264000000,0.0262183],[1167350400000,0.0264067],[1167436800000,0.0264164]], tooltip: {valueSuffix: ' грн'}, type: 'area', step: true, color: '#888888', fillColor: { linearGradient: {x1: 0, y1: 0, x2: 0, y2: 1}, stops: [[0, '#CCCCCC'], [1, 'rgba(50,50,50,0)']] }, threshold: null }, { name: 'Среднее за период', data: [[1137283200000, 0.024335],[1137283200000, 0.024335],[1139961600000, 0.023927],[1142380800000, 0.023339],[1145059200000, 0.023231],[1147651200000, 0.024532],[1150329600000, 0.023626],[1152921600000, 0.023024],[1155600000000, 0.023598],[1158278400000, 0.023418],[1160870400000, 0.023835],[1163548800000, 0.025064],[1166140800000, 0.026254]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });