$(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: 'Курс KZT, грн'}, 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: 'Курс KZT', data: [[1326758400000,0.053858],[1326844800000,null],[1326931200000,null],[1327017600000,0.053912],[1327104000000,0.053869],[1327190400000,0.053869],[1327276800000,0.053869],[1327363200000,0.053825],[1327449600000,0.053832],[1327536000000,0.053764],[1327622400000,0.053858],[1327708800000,0.05385],[1327795200000,0.05385],[1327881600000,0.05385],[1327968000000,0.053766],[1328054400000,0.053781],[1328140800000,0.05373],[1328227200000,0.053763],[1328313600000,0.053723],[1328400000000,0.053723],[1328486400000,0.053723],[1328572800000,0.053745],[1328659200000,0.053756],[1328745600000,0.053771],[1328832000000,0.053808],[1328918400000,0.053851],[1329004800000,0.053851],[1329091200000,0.053851],[1329177600000,0.053836],[1329264000000,0.053839],[1329350400000,0.053868],[1329436800000,0.053926],[1329523200000,0.053931],[1329609600000,0.053931],[1329696000000,0.053931],[1329782400000,0.05393],[1329868800000,0.053962],[1329955200000,0.053963],[1330041600000,0.054028],[1330128000000,0.054104],[1330214400000,0.054104],[1330300800000,0.054104],[1330387200000,0.054103],[1330473600000,0.054092],[1330560000000,0.054059],[1330646400000,0.054045],[1330732800000,0.053999],[1330819200000,0.053999],[1330905600000,0.053999],[1330992000000,0.053991],[1331078400000,0.053999],[1331164800000,0.053984],[1331251200000,0.053984],[1331337600000,0.053984],[1331424000000,0.053984],[1331510400000,0.053984],[1331596800000,0.053985],[1331683200000,0.053971],[1331769600000,0.054045],[1331856000000,0.054125],[1331942400000,0.054055],[1332028800000,0.054055],[1332115200000,0.054055],[1332201600000,0.054059],[1332288000000,0.054044],[1332374400000,0.054044],[1332460800000,0.054049],[1332547200000,0.054049],[1332633600000,0.054049],[1332720000000,0.054049],[1332806400000,0.054084],[1332892800000,0.054049],[1332979200000,0.054118],[1333065600000,0.054092],[1333152000000,0.054056],[1333238400000,0.054056],[1333324800000,0.054056],[1333411200000,0.054001],[1333497600000,0.053958],[1333584000000,0.053932],[1333670400000,0.053864],[1333756800000,0.053944],[1333843200000,null],[1333929600000,0.053944],[1334016000000,0.054128],[1334102400000,0.054106],[1334188800000,0.054077],[1334275200000,0.054084],[1334361600000,0.054088],[1334448000000,0.054088],[1334534400000,0.054088],[1334620800000,0.054088],[1334707200000,0.054121],[1334793600000,0.054084],[1334880000000,0.054045],[1334966400000,0.053972],[1335052800000,0.053972],[1335139200000,0.053972],[1335225600000,0.054037],[1335312000000,0.054092],[1335398400000,0.054062],[1335484800000,0.054007],[1335571200000,0.054022],[1335657600000,0.054026],[1335744000000,0.054026],[1335830400000,0.054026],[1335916800000,0.054026],[1336003200000,0.054026],[1336089600000,0.054033],[1336176000000,0.054004],[1336262400000,0.054004],[1336348800000,0.054004],[1336435200000,0.054032],[1336521600000,0.054001],[1336608000000,0.054001],[1336694400000,0.054052],[1336780800000,0.054034],[1336867200000,0.054034],[1336953600000,0.054034],[1337040000000,0.053986],[1337126400000,0.053986],[1337212800000,0.054008],[1337299200000,0.053982],[1337385600000,0.054099],[1337472000000,0.054099],[1337558400000,0.054099],[1337644800000,0.054],[1337731200000,0.054044],[1337817600000,0.054084],[1337904000000,0.054124],[1337990400000,0.054142],[1338076800000,0.054142],[1338163200000,0.054142],[1338249600000,0.053996],[1338336000000,0.054018],[1338422400000,0.054036],[1338508800000,0.053981],[1338595200000,0.053996],[1338681600000,0.053996],[1338768000000,0.053996],[1338854400000,0.053996],[1338940800000,0.053702],[1339027200000,0.053681],[1339113600000,0.053771],[1339200000000,0.053771],[1339286400000,0.053771],[1339372800000,0.053771],[1339459200000,0.053749],[1339545600000,0.053702],[1339632000000,0.053702],[1339718400000,0.053655],[1339804800000,0.053645],[1339891200000,0.053645],[1339977600000,0.053645],[1340064000000,0.05367],[1340150400000,0.053684],[1340236800000,0.053713],[1340323200000,0.053645],[1340409600000,0.05358],[1340496000000,0.05358],[1340582400000,0.05358],[1340668800000,0.053562],[1340755200000,0.05353],[1340841600000,0.053526],[1340928000000,0.053526],[1341014400000,0.053526],[1341100800000,0.053526],[1341187200000,0.053526],[1341273600000,0.053537],[1341360000000,0.053479],[1341446400000,0.053451],[1341532800000,0.053437],[1341619200000,0.053437],[1341705600000,0.05344],[1341792000000,0.05344],[1341878400000,0.053393],[1341964800000,0.053336],[1342051200000,0.053319],[1342137600000,0.053326],[1342224000000,0.053336],[1342310400000,0.053336],[1342396800000,0.053336],[1342483200000,0.053304],[1342569600000,0.053326],[1342656000000,0.053408],[1342742400000,0.053443],[1342828800000,0.053461],[1342915200000,0.053461],[1343001600000,0.053461],[1343088000000,0.053379],[1343174400000,0.053315],[1343260800000,0.053276],[1343347200000,0.053276],[1343433600000,0.053312],[1343520000000,0.053312],[1343606400000,0.053312],[1343692800000,0.053312],[1343779200000,0.053283],[1343865600000,0.053258],[1343952000000,0.053233],[1344038400000,0.053209],[1344124800000,0.053209],[1344211200000,0.053209],[1344297600000,0.053237],[1344384000000,0.053269],[1344470400000,0.053255],[1344556800000,0.053304],[1344643200000,0.05339],[1344729600000,0.05339],[1344816000000,0.05339],[1344902400000,0.053415],[1344988800000,0.053494],[1345075200000,0.053565],[1345161600000,0.053565],[1345248000000,0.05358],[1345334400000,0.05358],[1345420800000,0.05358],[1345507200000,0.053565],[1345593600000,0.053519],[1345680000000,0.053605],[1345766400000,0.053648],[1345852800000,0.053648],[1345939200000,0.053648],[1346025600000,0.053648],[1346112000000,0.053695],[1346198400000,0.05367],[1346284800000,0.053497],[1346371200000,0.053497],[1346457600000,0.05344],[1346544000000,0.05344],[1346630400000,0.05344],[1346716800000,0.05344],[1346803200000,0.053447],[1346889600000,0.053522],[1346976000000,0.053447],[1347062400000,0.053468],[1347148800000,0.053468],[1347235200000,0.053468],[1347321600000,0.053433],[1347408000000,0.053422],[1347494400000,0.053351],[1347580800000,0.053312],[1347667200000,0.053329],[1347753600000,0.053329],[1347840000000,0.053329],[1347926400000,0.053372],[1348012800000,0.053393],[1348099200000,0.053319],[1348185600000,0.053358],[1348272000000,0.053269],[1348358400000,0.053269],[1348444800000,0.053269],[1348531200000,0.053244],[1348617600000,0.053283],[1348704000000,0.053233],[1348790400000,0.053283],[1348876800000,0.053336],[1348963200000,0.053336],[1349049600000,0.053336],[1349136000000,0.05328],[1349222400000,0.05323],[1349308800000,0.053212],[1349395200000,0.053198],[1349481600000,0.05318],[1349568000000,0.05318],[1349654400000,0.05318],[1349740800000,0.05317],[1349827200000,0.053152],[1349913600000,0.053113],[1350000000000,0.053085],[1350086400000,0.053099],[1350172800000,0.053099],[1350259200000,0.053099],[1350345600000,0.053067],[1350432000000,0.053057],[1350518400000,0.053141],[1350604800000,0.053194],[1350691200000,0.053294],[1350777600000,0.053294],[1350864000000,0.053294],[1350950400000,0.053134],[1351036800000,0.053057],[1351123200000,0.053088],[1351209600000,0.053088],[1351296000000,0.053088],[1351382400000,0.053088],[1351468800000,0.053088],[1351555200000,0.053046],[1351641600000,0.053053],[1351728000000,0.053015],[1351814400000,0.052997],[1351900800000,0.05299],[1351987200000,0.05299],[1352073600000,0.05299],[1352160000000,0.052983],[1352246400000,0.052997],[1352332800000,0.05306],[1352419200000,0.052983],[1352505600000,0.053007],[1352592000000,0.053007],[1352678400000,0.053007],[1352764800000,0.052983],[1352851200000,0.053011],[1352937600000,0.053124],[1353024000000,0.05317],[1353110400000,0.05318],[1353196800000,0.05318],[1353283200000,0.05318],[1353369600000,0.053124],[1353456000000,0.053198],[1353542400000,0.053219],[1353628800000,0.053255],[1353715200000,0.053262],[1353801600000,0.053262],[1353888000000,0.053262],[1353974400000,0.053233],[1354060800000,0.053244],[1354147200000,0.053156],[1354233600000,0.053103],[1354320000000,0.053103],[1354406400000,0.053103],[1354492800000,0.053103],[1354579200000,0.053103],[1354665600000,0.053067],[1354752000000,0.05312],[1354838400000,0.053177],[1354924800000,0.053202],[1355011200000,0.053202],[1355097600000,0.053202],[1355184000000,0.053241],[1355270400000,0.053163],[1355356800000,0.053124],[1355443200000,0.053113],[1355529600000,0.053092],[1355616000000,0.053092],[1355702400000,0.053092],[1355788800000,0.053092],[1355875200000,0.053092],[1355961600000,0.053071],[1356048000000,0.053113],[1356134400000,0.053191],[1356220800000,0.053191],[1356307200000,0.053191],[1356393600000,0.053106],[1356480000000,0.053138],[1356566400000,0.053113],[1356652800000,0.053191],[1356739200000,0.053184],[1356825600000,0.053184]], 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.053844],[1326585600000, 0.053844],[1329264000000, 0.053887],[1331769600000, 0.054034],[1334448000000, 0.054032],[1337040000000, 0.054042],[1339718400000, 0.053710],[1342310400000, 0.053388],[1344988800000, 0.053453],[1347667200000, 0.053368],[1350259200000, 0.053151],[1352937600000, 0.053106],[1355529600000, 0.053140]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });