$(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: 'Курс ISK, грн'}, 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: 'Курс ISK', data: [[1356998400000,0.061966],[1357084800000,0.061966],[1357171200000,0.061966],[1357257600000,0.062115],[1357344000000,0.061655],[1357430400000,0.061655],[1357516800000,0.061655],[1357603200000,0.061655],[1357689600000,0.062082],[1357776000000,0.061808],[1357862400000,0.061798],[1357948800000,0.062188],[1358035200000,0.062188],[1358121600000,0.062188],[1358208000000,0.06247],[1358294400000,0.062275],[1358380800000,0.062014],[1358467200000,0.062125],[1358553600000,0.061985],[1358640000000,0.061985],[1358726400000,0.061985],[1358812800000,0.062149],[1358899200000,0.062338],[1358985600000,0.062019],[1359072000000,0.061894],[1359158400000,0.062115],[1359244800000,0.062115],[1359331200000,0.062115],[1359417600000,0.062188],[1359504000000,0.06198],[1359590400000,0.062135],[1359676800000,0.063061],[1359763200000,0.063331],[1359849600000,0.063331],[1359936000000,0.063331],[1360022400000,0.063286],[1360108800000,0.063086],[1360195200000,0.062947],[1360281600000,0.063026],[1360368000000,0.062523],[1360454400000,0.062523],[1360540800000,0.062523],[1360627200000,0.062072],[1360713600000,0.062275],[1360800000000,0.062568],[1360886400000,0.06198],[1360972800000,0.061894],[1361059200000,0.061894],[1361145600000,0.061894],[1361232000000,0.061789],[1361318400000,0.061808],[1361404800000,0.062149],[1361491200000,0.061466],[1361577600000,0.062883],[1361664000000,0.062883],[1361750400000,0.062883],[1361836800000,0.063226],[1361923200000,0.062952],[1362009600000,0.063296],[1362096000000,0.063517],[1362182400000,0.06432],[1362268800000,0.06432],[1362355200000,0.06432],[1362441600000,0.064057],[1362528000000,0.064082],[1362614400000,0.063939],[1362700800000,0.063745],[1362787200000,0.063745],[1362873600000,0.063745],[1362960000000,0.063745],[1363046400000,0.063161],[1363132800000,0.063156],[1363219200000,0.063161],[1363305600000,0.062932],[1363392000000,0.064016],[1363478400000,0.064016],[1363564800000,0.064016],[1363651200000,0.063613],[1363737600000,0.063547],[1363824000000,0.063457],[1363910400000,0.063745],[1363996800000,0.064454],[1364083200000,0.064454],[1364169600000,0.064454],[1364256000000,0.064857],[1364342400000,0.064382],[1364428800000,0.064124],[1364515200000,0.064124],[1364601600000,0.064124],[1364688000000,0.064124],[1364774400000,0.064124],[1364860800000,0.064124],[1364947200000,0.064747],[1365033600000,0.064621],[1365120000000,0.064679],[1365206400000,0.066091],[1365292800000,0.066091],[1365379200000,0.066091],[1365465600000,0.067191],[1365552000000,0.067145],[1365638400000,0.067406],[1365724800000,0.06744],[1365811200000,0.067247],[1365897600000,0.067247],[1365984000000,0.067247],[1366070400000,0.067503],[1366156800000,0.067939],[1366243200000,0.068078],[1366329600000,0.067714],[1366416000000,0.068486],[1366502400000,0.068486],[1366588800000,0.068486],[1366675200000,0.06827],[1366761600000,0.068078],[1366848000000,0.068235],[1366934400000,0.068235],[1367020800000,0.068159],[1367107200000,0.068159],[1367193600000,0.068159],[1367280000000,0.068252],[1367366400000,0.068322],[1367452800000,0.068322],[1367539200000,0.068322],[1367625600000,0.068322],[1367712000000,0.068322],[1367798400000,0.068322],[1367884800000,0.068322],[1367971200000,0.068698],[1368057600000,0.068375],[1368144000000,0.068375],[1368230400000,0.068375],[1368316800000,0.068375],[1368403200000,0.068375],[1368489600000,0.066442],[1368576000000,0.065143],[1368662400000,0.064862],[1368748800000,0.06491],[1368835200000,0.064868],[1368921600000,0.064868],[1369008000000,0.064868],[1369094400000,0.064868],[1369180800000,0.064862],[1369267200000,0.065063],[1369353600000,0.064694],[1369440000000,0.064747],[1369526400000,0.064747],[1369612800000,0.064747],[1369699200000,0.064553],[1369785600000,0.064371],[1369872000000,0.064721],[1369958400000,0.065026],[1370044800000,0.065111],[1370131200000,0.065111],[1370217600000,0.065111],[1370304000000,0.065292],[1370390400000,0.065447],[1370476800000,0.065361],[1370563200000,0.065754],[1370649600000,0.066343],[1370736000000,0.066343],[1370822400000,0.066343],[1370908800000,0.066118],[1370995200000,0.066326],[1371081600000,0.0662],[1371168000000,0.06642],[1371254400000,0.066376],[1371340800000,0.066376],[1371427200000,0.066376],[1371513600000,0.066376],[1371600000000,0.066669],[1371686400000,0.066703],[1371772800000,0.065074],[1371859200000,0.065356],[1371945600000,0.065356],[1372032000000,0.065356],[1372118400000,0.065356],[1372204800000,0.064731],[1372291200000,0.06447],[1372377600000,0.064564],[1372464000000,0.064564],[1372550400000,0.064564],[1372636800000,0.064564],[1372723200000,0.064721],[1372809600000,0.064491],[1372896000000,0.064041],[1372982400000,0.064175],[1373068800000,0.063669],[1373155200000,0.063669],[1373241600000,0.063669],[1373328000000,0.063391],[1373414400000,0.063141],[1373500800000,0.063241],[1373587200000,0.064522],[1373673600000,0.06501],[1373760000000,0.06501],[1373846400000,0.06501],[1373932800000,0.064989],[1374019200000,0.065683],[1374105600000,0.06614],[1374192000000,0.065916],[1374278400000,0.065873],[1374364800000,0.065873],[1374451200000,null],[1374537600000,0.066239],[1374624000000,0.066189],[1374710400000,0.066326],[1374796800000,0.065922],[1374883200000,0.066442],[1374969600000,0.066442],[1375056000000,0.066442],[1375142400000,0.066669],[1375228800000,0.067084],[1375315200000,0.067016],[1375401600000,0.067112],[1375488000000,0.066965],[1375574400000,null],[1375660800000,0.066965],[1375747200000,0.066965],[1375833600000,0.067304],[1375920000000,0.067474],[1376006400000,0.067606],[1376092800000,0.067691],[1376179200000,0.067691],[1376265600000,0.067691],[1376352000000,0.067298],[1376438400000,0.067027],[1376524800000,0.066299],[1376611200000,0.066332],[1376697600000,0.06672],[1376784000000,0.06672],[1376870400000,0.06672],[1376956800000,0.066653],[1377043200000,0.066697],[1377129600000,0.066514],[1377216000000,0.066162],[1377302400000,0.066503],[1377388800000,0.066503],[1377475200000,0.066503],[1377561600000,0.066503],[1377648000000,0.066426],[1377734400000,0.066542],[1377820800000,0.066382],[1377907200000,0.066681],[1377993600000,0.066681],[1378080000000,0.066681],[1378166400000,0.066631],[1378252800000,0.066228],[1378339200000,0.066058],[1378425600000,0.065987],[1378512000000,0.065457],[1378598400000,0.065457],[1378684800000,0.065457],[1378771200000,0.065791],[1378857600000,0.0659],[1378944000000,0.065802],[1379030400000,0.065873],[1379116800000,0.065565],[1379203200000,0.065565],[1379289600000,0.065565],[1379376000000,0.065808],[1379462400000,0.065791],[1379548800000,0.065998],[1379635200000,0.066982],[1379721600000,0.066881],[1379808000000,0.066881],[1379894400000,0.066881],[1379980800000,0.066575],[1380067200000,0.066058],[1380153600000,0.065748],[1380240000000,0.065819],[1380326400000,0.065954],[1380412800000,0.065954],[1380499200000,0.065954],[1380585600000,0.06602],[1380672000000,0.066393],[1380758400000,0.065965],[1380844800000,0.066129],[1380931200000,0.0662],[1381017600000,0.0662],[1381104000000,0.0662],[1381190400000,0.066063],[1381276800000,0.065954],[1381363200000,0.06557],[1381449600000,0.06557],[1381536000000,0.065554],[1381622400000,0.065554],[1381708800000,0.065554],[1381795200000,0.065592],[1381881600000,0.065786],[1381968000000,0.066123],[1382054400000,0.066492],[1382140800000,0.066686],[1382227200000,0.066686],[1382313600000,0.066686],[1382400000000,0.066514],[1382486400000,0.066211],[1382572800000,0.066365],[1382659200000,0.066603],[1382745600000,0.066619],[1382832000000,0.066619],[1382918400000,0.066619],[1383004800000,0.066625],[1383091200000,0.066409],[1383177600000,0.066442],[1383264000000,0.066426],[1383350400000,null],[1383436800000,0.066025],[1383523200000,0.066025],[1383609600000,0.065743],[1383696000000,0.065694],[1383782400000,0.065732],[1383868800000,0.065748],[1383955200000,0.065324],[1384041600000,0.065324],[1384128000000,0.065324],[1384214400000,0.065313],[1384300800000,0.064984],[1384387200000,0.064984],[1384473600000,0.065042],[1384560000000,0.065597],[1384646400000,0.065597],[1384732800000,0.065597],[1384819200000,0.066025],[1384905600000,0.065835],[1384992000000,0.065911],[1385078400000,0.065473],[1385164800000,0.065694],[1385251200000,0.065694],[1385337600000,0.065694],[1385424000000,0.065619],[1385510400000,0.065922],[1385596800000,0.066145],[1385683200000,0.066681],[1385769600000,0.066842],[1385856000000,0.066842],[1385942400000,0.066842],[1386028800000,0.066686],[1386115200000,0.066792],[1386201600000,0.066954],[1386288000000,0.066904],[1386374400000,0.067486],[1386460800000,0.067486],[1386547200000,0.067486],[1386633600000,0.067691],[1386720000000,0.067985],[1386806400000,0.06802],[1386892800000,0.068316],[1386979200000,0.06802],[1387065600000,0.06802],[1387152000000,0.06802],[1387238400000,0.068486],[1387324800000,0.068521],[1387411200000,0.068651],[1387497600000,0.06841],[1387584000000,0.068551],[1387670400000,0.068551],[1387756800000,0.068551],[1387843200000,0.068627],[1387929600000,0.068627],[1388016000000,0.068627],[1388102400000,0.068627],[1388188800000,0.069269],[1388275200000,0.069269],[1388361600000,0.069269]], 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: [[1358208000000, 0.062025],[1358208000000, 0.062025],[1360886400000, 0.062603],[1363305600000, 0.063918],[1365984000000, 0.067124],[1368576000000, 0.066361],[1371254400000, 0.065652],[1373846400000, 0.065152],[1376524800000, 0.066856],[1379203200000, 0.066066],[1381795200000, 0.066194],[1384473600000, 0.065725],[1387065600000, 0.068092]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });