$(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: 'Курс CZK, грн'}, 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: 'Курс CZK', data: [[1326758400000,0.3984],[1326844800000,null],[1326931200000,null],[1327017600000,0.407765],[1327104000000,0.404792],[1327190400000,0.404792],[1327276800000,0.404792],[1327363200000,0.410285],[1327449600000,0.408667],[1327536000000,0.407568],[1327622400000,0.416885],[1327708800000,0.417493],[1327795200000,0.417493],[1327881600000,0.417493],[1327968000000,0.414503],[1328054400000,0.417946],[1328140800000,0.418429],[1328227200000,0.415956],[1328313600000,0.419504],[1328400000000,0.419504],[1328486400000,0.419504],[1328572800000,0.41714],[1328659200000,0.419076],[1328745600000,0.427446],[1328832000000,0.424934],[1328918400000,0.417424],[1329004800000,0.417424],[1329091200000,0.417424],[1329177600000,0.422715],[1329264000000,0.419155],[1329350400000,0.415495],[1329436800000,0.410376],[1329523200000,0.420455],[1329609600000,0.420455],[1329696000000,0.420455],[1329782400000,0.425431],[1329868800000,0.42393],[1329955200000,0.419789],[1330041600000,0.423637],[1330128000000,0.427911],[1330214400000,0.427911],[1330300800000,0.427911],[1330387200000,0.426544],[1330473600000,0.431538],[1330560000000,0.432175],[1330646400000,0.427155],[1330732800000,0.427179],[1330819200000,0.427179],[1330905600000,0.427179],[1330992000000,0.426156],[1331078400000,0.422529],[1331164800000,0.421358],[1331251200000,0.421358],[1331337600000,0.421358],[1331424000000,0.421358],[1331510400000,0.421358],[1331596800000,0.426529],[1331683200000,0.42408],[1331769600000,0.423673],[1331856000000,0.424493],[1331942400000,0.427283],[1332028800000,0.427283],[1332115200000,0.427283],[1332201600000,0.428006],[1332288000000,0.43078],[1332374400000,0.428769],[1332460800000,0.42508],[1332547200000,0.427691],[1332633600000,0.427691],[1332720000000,0.427691],[1332806400000,0.430459],[1332892800000,0.432766],[1332979200000,0.432896],[1333065600000,0.427797],[1333152000000,0.431405],[1333238400000,0.431405],[1333324800000,0.431405],[1333411200000,0.429463],[1333497600000,0.431984],[1333584000000,0.426822],[1333670400000,0.422525],[1333756800000,0.422525],[1333843200000,null],[1333929600000,0.422525],[1334016000000,0.422393],[1334102400000,0.422324],[1334188800000,0.422395],[1334275200000,0.423444],[1334361600000,0.424189],[1334448000000,0.424189],[1334534400000,0.424189],[1334620800000,0.424189],[1334707200000,0.422836],[1334793600000,0.421291],[1334880000000,0.420662],[1334966400000,0.422759],[1335052800000,0.422759],[1335139200000,0.422759],[1335225600000,0.418826],[1335312000000,0.420555],[1335398400000,0.425276],[1335484800000,0.426357],[1335571200000,0.425004],[1335657600000,0.425004],[1335744000000,0.425004],[1335830400000,0.425004],[1335916800000,0.425004],[1336003200000,0.425004],[1336089600000,0.420533],[1336176000000,0.419308],[1336262400000,0.419308],[1336348800000,0.419308],[1336435200000,0.416051],[1336521600000,0.414019],[1336608000000,0.414019],[1336694400000,0.411567],[1336780800000,0.409546],[1336867200000,0.409546],[1336953600000,0.409546],[1337040000000,0.404707],[1337126400000,0.402177],[1337212800000,0.399751],[1337299200000,0.397185],[1337385600000,0.401294],[1337472000000,0.401294],[1337558400000,0.401294],[1337644800000,0.403931],[1337731200000,0.403448],[1337817600000,0.396851],[1337904000000,0.395281],[1337990400000,0.394422],[1338076800000,0.394422],[1338163200000,0.394422],[1338249600000,0.39683],[1338336000000,0.392325],[1338422400000,0.387445],[1338508800000,0.385829],[1338595200000,0.381912],[1338681600000,0.381912],[1338768000000,0.381912],[1338854400000,0.381912],[1338940800000,0.386232],[1339027200000,0.390324],[1339113600000,0.397495],[1339200000000,0.391078],[1339286400000,0.391078],[1339372800000,0.391078],[1339459200000,0.394794],[1339545600000,0.388764],[1339632000000,0.386232],[1339718400000,0.392772],[1339804800000,0.393379],[1339891200000,0.393379],[1339977600000,0.393379],[1340064000000,0.395596],[1340150400000,0.395597],[1340236800000,0.398918],[1340323200000,0.394288],[1340409600000,0.388818],[1340496000000,0.388818],[1340582400000,0.388818],[1340668800000,0.386667],[1340755200000,0.384033],[1340841600000,0.384822],[1340928000000,0.384822],[1341014400000,0.384822],[1341100800000,0.384822],[1341187200000,0.384822],[1341273600000,0.394472],[1341360000000,0.393292],[1341446400000,0.39367],[1341532800000,0.390128],[1341619200000,0.384915],[1341705600000,0.384939],[1341792000000,0.384939],[1341878400000,0.384782],[1341964800000,0.386119],[1342051200000,0.38588],[1342137600000,0.382561],[1342224000000,0.383519],[1342310400000,0.383519],[1342396800000,0.383519],[1342483200000,0.383373],[1342569600000,0.38738],[1342656000000,0.386844],[1342742400000,0.387707],[1342828800000,0.381363],[1342915200000,0.381363],[1343001600000,0.381363],[1343088000000,0.378261],[1343174400000,0.378352],[1343260800000,0.379449],[1343347200000,0.384216],[1343433600000,0.388976],[1343520000000,0.388976],[1343606400000,0.388976],[1343692800000,0.38753],[1343779200000,0.388779],[1343865600000,0.387641],[1343952000000,0.390663],[1344038400000,0.387084],[1344124800000,0.387084],[1344211200000,0.387084],[1344297600000,0.393296],[1344384000000,0.395799],[1344470400000,0.391696],[1344556800000,0.391175],[1344643200000,0.388852],[1344729600000,0.388852],[1344816000000,0.388852],[1344902400000,0.392228],[1344988800000,0.394287],[1345075200000,0.393086],[1345161600000,0.393971],[1345248000000,0.394123],[1345334400000,0.394123],[1345420800000,0.394123],[1345507200000,0.394756],[1345593600000,0.400827],[1345680000000,0.398498],[1345766400000,0.402876],[1345852800000,0.402876],[1345939200000,0.402876],[1346025600000,0.402876],[1346112000000,0.403108],[1346198400000,0.403964],[1346284800000,0.40416],[1346371200000,0.402393],[1346457600000,0.405796],[1346544000000,0.405796],[1346630400000,0.405796],[1346716800000,0.403535],[1346803200000,0.404116],[1346889600000,0.405485],[1346976000000,0.40892],[1347062400000,0.41306],[1347148800000,0.41306],[1347235200000,0.41306],[1347321600000,0.416301],[1347408000000,0.416354],[1347494400000,0.421758],[1347580800000,0.421492],[1347667200000,0.428389],[1347753600000,0.428389],[1347840000000,0.428389],[1347926400000,0.426837],[1348012800000,0.420474],[1348099200000,0.417873],[1348185600000,0.415762],[1348272000000,0.418551],[1348358400000,0.418551],[1348444800000,0.418551],[1348531200000,0.413944],[1348617600000,0.414773],[1348704000000,0.41096],[1348790400000,0.413942],[1348876800000,0.411079],[1348963200000,0.411079],[1349049600000,0.411079],[1349136000000,0.41039],[1349222400000,0.412408],[1349308800000,0.412023],[1349395200000,0.414783],[1349481600000,0.417118],[1349568000000,0.417118],[1349654400000,0.417118],[1349740800000,0.415957],[1349827200000,0.415196],[1349913600000,0.412913],[1350000000000,0.414008],[1350086400000,0.415508],[1350172800000,0.415508],[1350259200000,0.415508],[1350345600000,0.415857],[1350432000000,0.419203],[1350518400000,0.422958],[1350604800000,0.423542],[1350691200000,0.419727],[1350777600000,0.419727],[1350864000000,0.419727],[1350950400000,0.419344],[1351036800000,0.417332],[1351123200000,0.414229],[1351209600000,0.417064],[1351296000000,0.414352],[1351382400000,0.414352],[1351468800000,0.414352],[1351555200000,0.412029],[1351641600000,0.414057],[1351728000000,0.414351],[1351814400000,0.41112],[1351900800000,0.407063],[1351987200000,0.407063],[1352073600000,0.407063],[1352160000000,0.404718],[1352246400000,0.404309],[1352332800000,0.401177],[1352419200000,0.40042],[1352505600000,0.399524],[1352592000000,0.399524],[1352678400000,0.399524],[1352764800000,0.401289],[1352851200000,0.398818],[1352937600000,0.398898],[1353024000000,0.398806],[1353110400000,0.398961],[1353196800000,0.398961],[1353283200000,0.398961],[1353369600000,0.401317],[1353456000000,0.403096],[1353542400000,0.401626],[1353628800000,0.405372],[1353715200000,0.407205],[1353801600000,0.407205],[1353888000000,0.407205],[1353974400000,0.409684],[1354060800000,0.409411],[1354147200000,0.407828],[1354233600000,0.411722],[1354320000000,0.410882],[1354406400000,0.410882],[1354492800000,0.410882],[1354579200000,0.413227],[1354665600000,0.414548],[1354752000000,0.414103],[1354838400000,0.414703],[1354924800000,0.409194],[1355011200000,0.409194],[1355097600000,0.409194],[1355184000000,0.409386],[1355270400000,0.410649],[1355356800000,0.412542],[1355443200000,0.41332],[1355529600000,0.414397],[1355616000000,0.414397],[1355702400000,0.414397],[1355788800000,0.417048],[1355875200000,0.417983],[1355961600000,0.421014],[1356048000000,0.419674],[1356134400000,0.419149],[1356220800000,0.419149],[1356307200000,0.419149],[1356393600000,0.42047],[1356480000000,0.42047],[1356566400000,0.42047],[1356652800000,0.422198],[1356739200000,0.41914],[1356825600000,0.41914]], 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.410071],[1326585600000, 0.410071],[1329264000000, 0.421221],[1331769600000, 0.426710],[1334448000000, 0.424312],[1337040000000, 0.406608],[1339718400000, 0.389316],[1342310400000, 0.385485],[1344988800000, 0.394903],[1347667200000, 0.415069],[1350259200000, 0.415951],[1352937600000, 0.404074],[1355529600000, 0.415487]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });