$(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: [[1420070400000,0.693903],[1420156800000,0.693903],[1420243200000,0.693903],[1420329600000,0.693903],[1420416000000,0.693903],[1420502400000,0.693903],[1420588800000,0.679338],[1420675200000,0.679338],[1420761600000,null],[1420848000000,0.66514],[1420934400000,0.66514],[1421020800000,0.66514],[1421107200000,0.663348],[1421193600000,0.657986],[1421280000000,null],[1421366400000,0.658059],[1421452800000,0.664353],[1421539200000,0.661903],[1421625600000,0.661903],[1421712000000,0.65904],[1421798400000,0.656492],[1421884800000,0.656295],[1421971200000,null],[1422057600000,0.657606],[1422144000000,0.657606],[1422230400000,0.657606],[1422316800000,0.636127],[1422403200000,0.644141],[1422489600000,0.643728],[1422576000000,0.649953],[1422662400000,0.657836],[1422748800000,0.657836],[1422835200000,0.657836],[1422921600000,0.656696],[1423008000000,0.661973],[1423094400000,0.685845],[1423180800000,0.741899],[1423267200000,null],[1423353600000,0.952504],[1423440000000,0.952504],[1423526400000,1.03139],[1423612800000,1.01038],[1423699200000,1.04133],[1423785600000,1.02591],[1423872000000,1.05987],[1423958400000,1.05987],[1424044800000,1.05987],[1424131200000,1.07263],[1424217600000,1.088],[1424304000000,1.10764],[1424390400000,1.12792],[1424476800000,1.1589],[1424563200000,1.1589],[1424649600000,1.1589],[1424736000000,1.1643],[1424822400000,1.16468],[1424908800000,1.15584],[1424995200000,1.24182],[1425081600000,1.1419],[1425168000000,1.1419],[1425254400000,1.1419],[1425340800000,1.10024],[1425427200000,1.01376],[1425513600000,0.967025],[1425600000000,0.935259],[1425686400000,0.924248],[1425772800000,0.924248],[1425859200000,0.924248],[1425945600000,0.924248],[1426032000000,0.866206],[1426118400000,0.848215],[1426204800000,0.83537],[1426291200000,0.840242],[1426377600000,0.840242],[1426464000000,0.840242],[1426550400000,0.842601],[1426636800000,0.860042],[1426723200000,0.911457],[1426809600000,0.907056],[1426896000000,0.902848],[1426982400000,0.902848],[1427068800000,0.902848],[1427155200000,0.907832],[1427241600000,0.928315],[1427328000000,0.941765],[1427414400000,0.942933],[1427500800000,0.942462],[1427587200000,0.942462],[1427673600000,0.942462],[1427760000000,0.924656],[1427846400000,0.916404],[1427932800000,0.916924],[1428019200000,0.923496],[1428105600000,0.915455],[1428192000000,0.915455],[1428278400000,0.915455],[1428364800000,0.921061],[1428451200000,0.928683],[1428537600000,0.932754],[1428624000000,0.922247],[1428710400000,0.88326],[1428796800000,0.88326],[1428883200000,0.88326],[1428969600000,0.88326],[1429056000000,0.885705],[1429142400000,0.840571],[1429228800000,0.835205],[1429315200000,0.828485],[1429401600000,0.828485],[1429488000000,0.828485],[1429574400000,0.870386],[1429660800000,0.869338],[1429747200000,0.881615],[1429833600000,0.885816],[1429920000000,0.885177],[1430006400000,0.885177],[1430092800000,0.885177],[1430179200000,0.903058],[1430265600000,0.88552],[1430352000000,0.844021],[1430438400000,0.864017],[1430524800000,0.864017],[1430611200000,0.864017],[1430697600000,0.864017],[1430784000000,0.864017],[1430870400000,0.858622],[1430956800000,0.861267],[1431043200000,0.854835],[1431129600000,0.842869],[1431216000000,0.842869],[1431302400000,0.842869],[1431388800000,0.842869],[1431475200000,0.846702],[1431561600000,0.840892],[1431648000000,0.85542],[1431734400000,0.855698],[1431820800000,0.855698],[1431907200000,0.855698],[1431993600000,0.919344],[1432080000000,0.86853],[1432166400000,0.846671],[1432252800000,0.841715],[1432339200000,0.849143],[1432425600000,0.849143],[1432512000000,0.849143],[1432598400000,0.847602],[1432684800000,0.854062],[1432771200000,null],[1432857600000,0.835093],[1432944000000,0.844134],[1433030400000,0.844134],[1433116800000,0.844134],[1433203200000,0.844134],[1433289600000,0.846933],[1433376000000,0.851713],[1433462400000,0.865811],[1433548800000,0.860956],[1433635200000,0.860956],[1433721600000,0.860956],[1433808000000,0.858684],[1433894400000,0.870498],[1433980800000,0.873374],[1434067200000,0.864561],[1434153600000,0.865495],[1434240000000,0.865495],[1434326400000,0.865495],[1434412800000,0.882044],[1434499200000,0.911378],[1434585600000,0.89645],[1434672000000,0.891797],[1434758400000,0.898382],[1434844800000,0.898382],[1434931200000,0.898382],[1435017600000,0.907763],[1435104000000,0.887028],[1435190400000,0.872856],[1435276800000,0.872125],[1435363200000,0.864539],[1435449600000,0.864539],[1435536000000,0.864539],[1435622400000,0.864539],[1435708800000,0.862391],[1435795200000,0.855798],[1435881600000,0.852795],[1435968000000,0.859158],[1436054400000,0.859158],[1436140800000,0.859158],[1436227200000,0.862705],[1436313600000,0.875302],[1436400000000,0.893261],[1436486400000,0.890851],[1436572800000,0.903793],[1436659200000,0.903793],[1436745600000,0.903793],[1436832000000,0.895423],[1436918400000,0.895977],[1437004800000,0.898807],[1437091200000,0.881138],[1437177600000,0.886082],[1437264000000,0.886082],[1437350400000,0.886082],[1437436800000,0.883173],[1437523200000,0.883966],[1437609600000,0.886567],[1437696000000,0.895561],[1437782400000,0.892916],[1437868800000,0.892916],[1437955200000,0.892916],[1438041600000,0.892916],[1438128000000,0.899184],[1438214400000,0.899547],[1438300800000,0.87516],[1438387200000,0.85715],[1438473600000,0.85715],[1438560000000,0.85715],[1438646400000,0.87951],[1438732800000,0.880685],[1438819200000,0.868075],[1438905600000,0.865198],[1438992000000,0.85385],[1439078400000,0.85385],[1439164800000,0.85385],[1439251200000,0.862033],[1439337600000,0.874204],[1439424000000,0.882847],[1439510400000,0.879555],[1439596800000,0.899271],[1439683200000,0.899271],[1439769600000,0.899271],[1439856000000,0.904514],[1439942400000,0.904061],[1440028800000,0.901608],[1440115200000,0.911705],[1440201600000,0.922467],[1440288000000,0.922467],[1440374400000,0.922467],[1440460800000,null],[1440547200000,0.960216],[1440633600000,0.90196],[1440720000000,0.887673],[1440806400000,0.88257],[1440892800000,0.88257],[1440979200000,0.88257],[1441065600000,0.905029],[1441152000000,null],[1441238400000,null],[1441324800000,null],[1441411200000,null],[1441497600000,null],[1441584000000,null],[1441670400000,null],[1441756800000,null],[1441843200000,null],[1441929600000,null],[1442016000000,null],[1442102400000,null],[1442188800000,null],[1442275200000,null],[1442361600000,null],[1442448000000,0.905317],[1442534400000,null],[1442620800000,0.912786],[1442707200000,0.912786],[1442793600000,0.912786],[1442880000000,0.908847],[1442966400000,0.896233],[1443052800000,0.888013],[1443139200000,0.888308],[1443225600000,0.886404],[1443312000000,0.886404],[1443398400000,0.886404],[1443484800000,0.8859],[1443571200000,0.886484],[1443657600000,0.877533],[1443744000000,0.868225],[1443830400000,0.868849],[1443916800000,0.868849],[1444003200000,0.868849],[1444089600000,0.878914],[1444176000000,0.8804],[1444262400000,0.884275],[1444348800000,0.883956],[1444435200000,0.900955],[1444521600000,0.900955],[1444608000000,0.900955],[1444694400000,0.91535],[1444780800000,0.919478],[1444867200000,0.919478],[1444953600000,0.916109],[1445040000000,0.893401],[1445126400000,0.893401],[1445212800000,0.893401],[1445299200000,0.904595],[1445385600000,0.923486],[1445472000000,0.947988],[1445558400000,0.931177],[1445644800000,0.924199],[1445731200000,0.924199],[1445817600000,0.924199],[1445904000000,0.931102],[1445990400000,0.933244],[1446076800000,0.934977],[1446163200000,0.923323],[1446249600000,0.935112],[1446336000000,0.935112],[1446422400000,0.935112],[1446508800000,0.937018],[1446595200000,0.932329],[1446681600000,0.932243],[1446768000000,0.922565],[1446854400000,0.910451],[1446940800000,0.910451],[1447027200000,0.910451],[1447113600000,0.906764],[1447200000000,0.901482],[1447286400000,0.902461],[1447372800000,0.909364],[1447459200000,0.918228],[1447545600000,0.918228],[1447632000000,0.918228],[1447718400000,0.920606],[1447804800000,0.93832],[1447891200000,0.943662],[1447977600000,0.942716],[1448064000000,0.948345],[1448150400000,0.948345],[1448236800000,0.948345],[1448323200000,0.946606],[1448409600000,0.9436],[1448496000000,0.931162],[1448582400000,0.926363],[1448668800000,0.935093],[1448755200000,0.935093],[1448841600000,0.935093],[1448928000000,0.93728],[1449014400000,0.935205],[1449100800000,0.928617],[1449187200000,0.911306],[1449273600000,0.953643],[1449360000000,0.953643],[1449446400000,0.953643],[1449532800000,0.938045],[1449619200000,0.922141],[1449705600000,0.927032],[1449792000000,0.946373],[1449878400000,0.966836],[1449964800000,0.966836],[1450051200000,0.966836],[1450137600000,0.967744],[1450224000000,0.953778],[1450310400000,0.951299],[1450396800000,0.941992],[1450483200000,0.943947],[1450569600000,0.943947],[1450656000000,0.943947],[1450742400000,0.945843],[1450828800000,0.937932],[1450915200000,0.928637],[1451001600000,0.930118],[1451088000000,0.937125],[1451174400000,0.937125],[1451260800000,0.937125],[1451347200000,0.965797],[1451433600000,0.964022]], 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: [[1421280000000, 0.666482],[1421280000000, 0.666482],[1423958400000, 0.999893],[1426377600000, 0.928071],[1429056000000, 0.886106],[1431648000000, 0.854170],[1434326400000, 0.872465],[1436918400000, 0.884076],[1439596800000, 0.886992],[1442275200000, 0.897264],[1444867200000, 0.905514],[1447545600000, 0.928128],[1450137600000, 0.945419]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });