$(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: 'Курс SEK, грн'}, 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: 'Курс SEK', data: [[1136246400000,0.634551],[1136332800000,0.634551],[1136419200000,0.634551],[1136505600000,0.65454],[1136592000000,0.655683],[1136678400000,0.655683],[1136764800000,0.655683],[1136851200000,0.655683],[1136937600000,0.651376],[1137024000000,0.652888],[1137110400000,0.655479],[1137196800000,0.653288],[1137283200000,0.653288],[1137369600000,0.653288],[1137456000000,0.655629],[1137542400000,0.653402],[1137628800000,0.656305],[1137715200000,0.652804],[1137801600000,0.655059],[1137888000000,0.655059],[1137974400000,0.655059],[1138060800000,0.669534],[1138147200000,0.668554],[1138233600000,0.669832],[1138320000000,0.668915],[1138406400000,0.663922],[1138492800000,0.663922],[1138579200000,0.663922],[1138665600000,0.661292],[1138752000000,null],[1138838400000,null],[1138924800000,null],[1139011200000,null],[1139097600000,null],[1139184000000,0.650777],[1139270400000,0.650777],[1139356800000,0.649658],[1139443200000,0.650798],[1139529600000,0.652781],[1139616000000,0.652629],[1139702400000,0.652629],[1139788800000,0.652629],[1139875200000,0.642911],[1139961600000,0.643652],[1140048000000,0.644149],[1140134400000,0.637459],[1140220800000,0.638612],[1140307200000,0.638612],[1140393600000,0.638612],[1140480000000,0.643526],[1140566400000,0.640401],[1140652800000,0.639585],[1140739200000,0.641668],[1140825600000,0.637737],[1140912000000,0.637737],[1140998400000,0.637737],[1141084800000,0.633763],[1141171200000,0.634657],[1141257600000,0.638981],[1141344000000,0.63622],[1141430400000,0.641639],[1141516800000,0.641639],[1141603200000,0.641639],[1141689600000,0.641886],[1141776000000,0.635055],[1141862400000,0.635055],[1141948800000,0.638352],[1142035200000,0.640841],[1142121600000,0.640841],[1142208000000,0.640841],[1142294400000,0.641952],[1142380800000,0.643119],[1142467200000,0.646938],[1142553600000,0.650901],[1142640000000,0.658853],[1142726400000,0.658853],[1142812800000,0.658853],[1142899200000,0.658653],[1142985600000,0.654296],[1143072000000,0.649943],[1143158400000,0.650925],[1143244800000,0.644868],[1143331200000,0.644868],[1143417600000,0.644868],[1143504000000,0.649131],[1143590400000,0.651432],[1143676800000,0.644311],[1143763200000,0.648713],[1143849600000,0.648096],[1143936000000,0.648096],[1144022400000,0.648096],[1144108800000,0.646724],[1144195200000,0.657598],[1144281600000,0.661685],[1144368000000,0.666977],[1144454400000,0.658395],[1144540800000,0.658395],[1144627200000,0.658395],[1144713600000,0.652296],[1144800000000,0.654885],[1144886400000,0.656389],[1144972800000,0.654886],[1145059200000,0.654886],[1145145600000,0.654886],[1145232000000,0.654886],[1145318400000,0.654886],[1145404800000,0.664811],[1145491200000,0.668819],[1145577600000,0.671253],[1145664000000,0.668143],[1145750400000,0.668143],[1145836800000,0.668143],[1145923200000,0.668143],[1146009600000,0.672334],[1146096000000,0.673713],[1146182400000,0.671724],[1146268800000,0.680992],[1146355200000,0.680992],[1146441600000,0.680992],[1146528000000,0.680992],[1146614400000,0.680992],[1146700800000,0.684726],[1146787200000,0.681889],[1146873600000,0.687346],[1146960000000,0.687346],[1147046400000,0.687346],[1147132800000,0.687346],[1147219200000,0.687346],[1147305600000,0.691934],[1147392000000,0.68769],[1147478400000,0.696005],[1147564800000,0.696005],[1147651200000,0.696005],[1147737600000,0.690047],[1147824000000,0.688683],[1147910400000,0.693711],[1147996800000,0.687841],[1148083200000,0.688046],[1148169600000,0.688046],[1148256000000,0.688046],[1148342400000,0.688703],[1148428800000,0.696569],[1148515200000,0.696408],[1148601600000,0.69145],[1148688000000,0.694406],[1148774400000,0.694406],[1148860800000,0.694406],[1148947200000,0.693108],[1149033600000,0.699232],[1149120000000,0.700577],[1149206400000,0.694154],[1149292800000,0.701032],[1149379200000,0.701032],[1149465600000,0.701032],[1149552000000,0.71211],[1149638400000,0.704461],[1149724800000,0.700254],[1149811200000,0.698107],[1149897600000,0.693038],[1149984000000,0.693038],[1150070400000,0.693038],[1150156800000,0.693038],[1150243200000,0.685916],[1150329600000,0.684333],[1150416000000,0.686471],[1150502400000,0.689268],[1150588800000,0.689268],[1150675200000,0.689268],[1150761600000,0.685112],[1150848000000,0.686093],[1150934400000,0.693214],[1151020800000,0.688032],[1151107200000,0.684666],[1151193600000,0.684666],[1151280000000,0.684666],[1151366400000,0.688128],[1151452800000,0.68748],[1151539200000,0.68748],[1151625600000,0.684956],[1151712000000,0.694925],[1151798400000,0.694925],[1151884800000,0.694925],[1151971200000,0.700803],[1152057600000,0.703009],[1152144000000,0.703993],[1152230400000,0.700426],[1152316800000,0.703749],[1152403200000,0.703749],[1152489600000,0.703749],[1152576000000,0.702141],[1152662400000,0.699925],[1152748800000,0.701185],[1152835200000,0.698061],[1152921600000,0.694928],[1153008000000,0.694928],[1153094400000,0.694928],[1153180800000,0.685672],[1153267200000,0.683925],[1153353600000,0.680824],[1153440000000,0.691698],[1153526400000,0.692701],[1153612800000,0.692701],[1153699200000,0.692701],[1153785600000,0.688986],[1153872000000,0.688703],[1153958400000,0.687539],[1154044800000,0.695409],[1154131200000,0.692134],[1154217600000,0.692134],[1154304000000,0.692134],[1154390400000,0.698293],[1154476800000,0.699575],[1154563200000,0.702568],[1154649600000,0.701299],[1154736000000,0.699986],[1154822400000,0.699986],[1154908800000,0.699986],[1154995200000,0.706505],[1155081600000,0.706054],[1155168000000,0.709606],[1155254400000,0.706582],[1155340800000,0.701633],[1155427200000,0.701633],[1155513600000,0.701633],[1155600000000,0.69807],[1155686400000,0.697279],[1155772800000,0.701409],[1155859200000,0.707406],[1155945600000,0.70207],[1156032000000,0.70207],[1156118400000,0.70207],[1156204800000,0.708409],[1156291200000,0.703474],[1156377600000,0.703191],[1156464000000,0.703191],[1156550400000,0.703191],[1156636800000,0.703191],[1156723200000,0.703191],[1156809600000,0.699075],[1156896000000,0.6993],[1156982400000,0.699642],[1157068800000,0.700331],[1157155200000,0.694782],[1157241600000,0.694782],[1157328000000,0.694782],[1157414400000,0.696552],[1157500800000,0.693918],[1157587200000,0.694577],[1157673600000,0.689195],[1157760000000,0.688885],[1157846400000,0.688885],[1157932800000,0.688885],[1158019200000,0.692676],[1158105600000,0.695421],[1158192000000,0.69226],[1158278400000,0.694697],[1158364800000,0.693862],[1158451200000,0.693862],[1158537600000,0.693862],[1158624000000,0.695743],[1158710400000,0.696563],[1158796800000,0.694534],[1158883200000,0.697358],[1158969600000,0.699134],[1159056000000,0.699134],[1159142400000,0.699134],[1159228800000,0.693175],[1159315200000,0.690131],[1159401600000,0.690462],[1159488000000,0.693139],[1159574400000,0.688955],[1159660800000,0.688955],[1159747200000,0.688955],[1159833600000,0.686469],[1159920000000,0.689705],[1160006400000,0.687093],[1160092800000,0.691545],[1160179200000,0.689314],[1160265600000,0.689314],[1160352000000,0.689314],[1160438400000,0.685831],[1160524800000,0.682736],[1160611200000,0.684336],[1160697600000,0.684865],[1160784000000,0.684688],[1160870400000,0.684688],[1160956800000,0.684688],[1161043200000,0.683769],[1161129600000,0.682312],[1161216000000,0.683819],[1161302400000,0.685874],[1161388800000,0.691806],[1161475200000,0.691806],[1161561600000,0.691806],[1161648000000,0.688878],[1161734400000,0.688377],[1161820800000,0.689596],[1161907200000,0.692545],[1161993600000,0.694563],[1162080000000,0.694563],[1162166400000,0.694563],[1162252800000,0.697499],[1162339200000,0.695992],[1162425600000,0.700119],[1162512000000,0.701056],[1162598400000,0.702819],[1162684800000,0.702819],[1162771200000,0.702819],[1162857600000,0.701308],[1162944000000,0.704388],[1163030400000,0.705393],[1163116800000,0.708589],[1163203200000,0.714761],[1163289600000,0.714761],[1163376000000,0.714761],[1163462400000,0.712496],[1163548800000,0.713834],[1163635200000,0.710901],[1163721600000,0.712863],[1163808000000,0.711852],[1163894400000,0.711852],[1163980800000,0.711852],[1164067200000,0.713994],[1164153600000,0.712124],[1164240000000,0.715377],[1164326400000,0.722034],[1164412800000,0.730776],[1164499200000,0.730776],[1164585600000,0.730776],[1164672000000,0.732399],[1164758400000,0.732137],[1164844800000,0.731741],[1164931200000,0.735267],[1165017600000,0.740175],[1165104000000,0.740175],[1165190400000,0.740175],[1165276800000,0.744055],[1165363200000,0.743926],[1165449600000,0.738606],[1165536000000,0.74326],[1165622400000,0.740366],[1165708800000,0.740366],[1165795200000,0.740366],[1165881600000,0.734601],[1165968000000,0.738173],[1166054400000,0.740963],[1166140800000,0.735299],[1166227200000,0.730256],[1166313600000,0.730256],[1166400000000,0.730256],[1166486400000,0.730272],[1166572800000,0.736249],[1166659200000,0.740522],[1166745600000,0.742228],[1166832000000,0.74114],[1166918400000,0.74114],[1167004800000,0.74114],[1167091200000,0.74114],[1167177600000,0.74114],[1167264000000,0.736484],[1167350400000,0.735369],[1167436800000,0.735681]], 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.655646],[1137283200000, 0.655646],[1139961600000, 0.643863],[1142380800000, 0.645456],[1145059200000, 0.661589],[1147651200000, 0.689905],[1150329600000, 0.692131],[1152921600000, 0.695084],[1155600000000, 0.702309],[1158278400000, 0.693989],[1160870400000, 0.688525],[1163548800000, 0.713579],[1166140800000, 0.738302]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });