$(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: [[1326758400000,0.064041],[1326844800000,null],[1326931200000,null],[1327017600000,0.064403],[1327104000000,0.064423],[1327190400000,0.064423],[1327276800000,0.064423],[1327363200000,0.064564],[1327449600000,0.064632],[1327536000000,0.064465],[1327622400000,0.065154],[1327708800000,0.064936],[1327795200000,0.064936],[1327881600000,0.064936],[1327968000000,0.064815],[1328054400000,0.065042],[1328140800000,0.064851],[1328227200000,0.064936],[1328313600000,0.065105],[1328400000000,0.065105],[1328486400000,0.065105],[1328572800000,0.064542],[1328659200000,0.06492],[1328745600000,0.065443],[1328832000000,0.065443],[1328918400000,0.065389],[1329004800000,0.065389],[1329091200000,0.065389],[1329177600000,0.06543],[1329264000000,0.065193],[1329350400000,0.064944],[1329436800000,0.064281],[1329523200000,0.06474],[1329609600000,0.06474],[1329696000000,0.06474],[1329782400000,0.064987],[1329868800000,0.064644],[1329955200000,0.06448],[1330041600000,0.064297],[1330128000000,0.06441],[1330214400000,0.06441],[1330300800000,0.06441],[1330387200000,0.064063],[1330473600000,0.064037],[1330560000000,0.064063],[1330646400000,0.063746],[1330732800000,0.063498],[1330819200000,0.063498],[1330905600000,0.063498],[1330992000000,0.063246],[1331078400000,0.063382],[1331164800000,0.063701],[1331251200000,0.063701],[1331337600000,0.063701],[1331424000000,0.063701],[1331510400000,0.063701],[1331596800000,0.0632],[1331683200000,0.062963],[1331769600000,0.062693],[1331856000000,0.06258],[1331942400000,0.062657],[1332028800000,0.062657],[1332115200000,0.062657],[1332201600000,0.063108],[1332288000000,0.063348],[1332374400000,0.063529],[1332460800000,0.063133],[1332547200000,0.063338],[1332633600000,0.063338],[1332720000000,0.063338],[1332806400000,0.063056],[1332892800000,0.063188],[1332979200000,0.063048],[1333065600000,0.062838],[1333152000000,0.06316],[1333238400000,0.06316],[1333324800000,0.06316],[1333411200000,0.063195],[1333497600000,0.06321],[1333584000000,0.062739],[1333670400000,0.062736],[1333756800000,0.062736],[1333843200000,null],[1333929600000,0.062736],[1334016000000,0.062716],[1334102400000,0.062208],[1334188800000,0.06277],[1334275200000,0.062825],[1334361600000,0.062899],[1334448000000,0.062899],[1334534400000,0.062899],[1334620800000,0.062899],[1334707200000,0.062948],[1334793600000,0.062711],[1334880000000,0.062717],[1334966400000,0.063228],[1335052800000,0.063228],[1335139200000,0.063228],[1335225600000,0.063109],[1335312000000,0.063124],[1335398400000,0.063405],[1335484800000,0.063394],[1335571200000,0.063573],[1335657600000,0.063573],[1335744000000,0.063573],[1335830400000,0.063573],[1335916800000,0.063573],[1336003200000,0.063573],[1336089600000,0.06396],[1336176000000,0.064419],[1336262400000,0.064419],[1336348800000,0.064419],[1336435200000,0.064058],[1336521600000,0.064029],[1336608000000,0.064029],[1336694400000,0.063605],[1336780800000,0.063569],[1336867200000,0.063569],[1336953600000,0.063569],[1337040000000,0.063142],[1337126400000,0.063097],[1337212800000,0.062529],[1337299200000,0.062537],[1337385600000,0.062419],[1337472000000,0.062419],[1337558400000,0.062419],[1337644800000,0.0629],[1337731200000,0.062785],[1337817600000,0.062373],[1337904000000,0.061948],[1337990400000,0.061847],[1338076800000,0.061847],[1338163200000,0.061847],[1338249600000,0.061847],[1338336000000,0.061576],[1338422400000,0.061269],[1338508800000,0.061128],[1338595200000,0.061049],[1338681600000,0.061049],[1338768000000,0.061049],[1338854400000,0.061049],[1338940800000,0.061576],[1339027200000,0.061881],[1339113600000,0.062102],[1339200000000,0.061604],[1339286400000,0.061604],[1339372800000,0.061604],[1339459200000,0.06201],[1339545600000,0.061761],[1339632000000,0.061576],[1339718400000,0.062451],[1339804800000,0.063112],[1339891200000,0.063112],[1339977600000,0.063112],[1340064000000,0.063833],[1340150400000,0.063817],[1340236800000,0.064104],[1340323200000,0.063976],[1340409600000,0.063422],[1340496000000,0.063422],[1340582400000,0.063422],[1340668800000,0.063177],[1340755200000,0.063247],[1340841600000,0.063277],[1340928000000,0.063277],[1341014400000,0.063277],[1341100800000,0.063277],[1341187200000,0.063277],[1341273600000,0.063843],[1341360000000,0.063629],[1341446400000,0.063372],[1341532800000,0.062889],[1341619200000,0.062485],[1341705600000,0.062489],[1341792000000,0.062489],[1341878400000,0.062309],[1341964800000,0.062436],[1342051200000,0.062328],[1342137600000,0.061976],[1342224000000,0.061966],[1342310400000,0.061966],[1342396800000,0.061966],[1342483200000,0.061942],[1342569600000,0.063011],[1342656000000,0.063391],[1342742400000,0.063694],[1342828800000,0.064041],[1342915200000,0.064041],[1343001600000,0.064041],[1343088000000,0.064185],[1343174400000,0.064082],[1343260800000,0.06432],[1343347200000,0.064564],[1343433600000,0.065249],[1343520000000,0.065249],[1343606400000,0.065249],[1343692800000,0.065764],[1343779200000,0.066041],[1343865600000,0.066337],[1343952000000,0.066189],[1344038400000,0.066293],[1344124800000,0.066293],[1344211200000,0.066293],[1344297600000,0.066293],[1344384000000,0.067027],[1344470400000,0.066909],[1344556800000,0.066814],[1344643200000,0.066714],[1344729600000,0.066714],[1344816000000,0.066714],[1344902400000,0.066893],[1344988800000,0.066887],[1345075200000,0.066631],[1345161600000,0.066553],[1345248000000,0.066876],[1345334400000,0.066876],[1345420800000,0.066876],[1345507200000,0.066731],[1345593600000,0.066977],[1345680000000,0.06723],[1345766400000,0.067281],[1345852800000,0.067281],[1345939200000,0.067281],[1346025600000,0.067281],[1346112000000,0.066091],[1346198400000,0.065916],[1346284800000,0.06564],[1346371200000,0.065361],[1346457600000,0.065559],[1346544000000,0.065559],[1346630400000,0.065559],[1346716800000,0.065318],[1346803200000,0.065244],[1346889600000,0.064947],[1346976000000,0.06491],[1347062400000,0.064957],[1347148800000,0.064957],[1347235200000,0.064957],[1347321600000,0.065393],[1347408000000,0.065345],[1347494400000,0.065791],[1347580800000,0.065533],[1347667200000,0.066091],[1347753600000,0.066091],[1347840000000,0.066091],[1347926400000,0.0659],[1348012800000,0.065522],[1348099200000,0.065116],[1348185600000,0.064684],[1348272000000,0.064899],[1348358400000,0.064899],[1348444800000,0.064899],[1348531200000,0.064429],[1348617600000,0.064423],[1348704000000,0.06417],[1348790400000,0.064154],[1348876800000,0.064637],[1348963200000,0.064637],[1349049600000,0.064637],[1349136000000,0.064574],[1349222400000,0.064674],[1349308800000,0.064952],[1349395200000,0.065132],[1349481600000,0.065457],[1349568000000,0.065457],[1349654400000,0.065457],[1349740800000,0.065404],[1349827200000,0.065329],[1349913600000,0.064984],[1350000000000,0.065068],[1350086400000,0.0651],[1350172800000,0.0651],[1350259200000,0.0651],[1350345600000,0.064994],[1350432000000,0.065074],[1350518400000,0.065329],[1350604800000,0.065137],[1350691200000,0.064454],[1350777600000,0.064454],[1350864000000,0.064454],[1350950400000,0.064325],[1351036800000,0.063781],[1351123200000,0.063331],[1351209600000,0.063116],[1351296000000,0.062553],[1351382400000,0.062553],[1351468800000,0.062553],[1351555200000,0.06273],[1351641600000,0.062779],[1351728000000,0.062942],[1351814400000,0.063381],[1351900800000,0.063166],[1351987200000,0.063166],[1352073600000,0.063166],[1352160000000,0.062818],[1352246400000,0.062784],[1352332800000,0.062907],[1352419200000,0.062353],[1352505600000,0.062106],[1352592000000,0.062106],[1352678400000,0.062106],[1352764800000,0.062033],[1352851200000,0.061856],[1352937600000,0.062004],[1353024000000,0.061846],[1353110400000,0.062077],[1353196800000,0.062077],[1353283200000,0.062077],[1353369600000,0.062957],[1353456000000,0.063141],[1353542400000,0.062902],[1353628800000,0.063216],[1353715200000,0.063351],[1353801600000,0.063351],[1353888000000,0.063351],[1353974400000,0.063598],[1354060800000,0.063447],[1354147200000,0.063371],[1354233600000,0.063537],[1354320000000,0.063628],[1354406400000,0.063628],[1354492800000,0.063628],[1354579200000,0.063689],[1354665600000,0.063954],[1354752000000,0.063964],[1354838400000,0.063898],[1354924800000,0.063266],[1355011200000,0.063266],[1355097600000,0.063266],[1355184000000,0.063011],[1355270400000,0.063151],[1355356800000,0.062912],[1355443200000,0.062967],[1355529600000,0.063156],[1355616000000,0.063156],[1355702400000,0.063156],[1355788800000,0.063266],[1355875200000,0.063381],[1355961600000,0.063781],[1356048000000,0.06374],[1356134400000,0.063271],[1356220800000,0.063271],[1356307200000,0.063271],[1356393600000,0.063271],[1356480000000,0.063271],[1356566400000,0.063271],[1356652800000,0.062799],[1356739200000,0.061966],[1356825600000,0.061966]], 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: [[1326585600000, 0.064627],[1326585600000, 0.064627],[1329264000000, 0.064844],[1331769600000, 0.063267],[1334448000000, 0.063021],[1337040000000, 0.063005],[1339718400000, 0.062503],[1342310400000, 0.063404],[1344988800000, 0.066622],[1347667200000, 0.065156],[1350259200000, 0.064453],[1352937600000, 0.062773],[1355529600000, 0.063232]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });