$(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: 'Курс EUR, грн'}, 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: 'Курс EUR', data: [[1420070400000,19.2329],[1420156800000,19.2329],[1420243200000,19.2329],[1420329600000,19.2329],[1420416000000,19.2329],[1420502400000,19.2329],[1420588800000,18.8014],[1420675200000,18.8014],[1420761600000,null],[1420848000000,18.5341],[1420934400000,18.5341],[1421020800000,18.5341],[1421107200000,18.6149],[1421193600000,18.6124],[1421280000000,null],[1421366400000,18.5764],[1421452800000,18.4963],[1421539200000,18.3976],[1421625600000,18.3976],[1421712000000,18.318],[1421798400000,18.3036],[1421884800000,18.2772],[1421971200000,null],[1422057600000,18.3472],[1422144000000,18.3472],[1422230400000,18.3472],[1422316800000,17.704],[1422403200000,17.8775],[1422489600000,17.942],[1422576000000,18.0986],[1422662400000,18.2826],[1422748800000,18.2826],[1422835200000,18.2826],[1422921600000,18.2542],[1423008000000,18.3691],[1423094400000,19.0308],[1423180800000,20.6025],[1423267200000,null],[1423353600000,26.392],[1423440000000,26.392],[1423526400000,28.5674],[1423612800000,28.0077],[1423699200000,28.8729],[1423785600000,28.3972],[1423872000000,29.3605],[1423958400000,29.3605],[1424044800000,29.3605],[1424131200000,29.6474],[1424217600000,30.07],[1424304000000,30.5918],[1424390400000,31.1115],[1424476800000,31.7225],[1424563200000,31.7225],[1424649600000,31.7225],[1424736000000,32.0276],[1424822400000,31.9634],[1424908800000,31.7705],[1424995200000,34.0495],[1425081600000,31.4195],[1425168000000,31.4195],[1425254400000,31.4195],[1425340800000,30.1885],[1425427200000,27.8662],[1425513600000,26.5477],[1425600000000,25.6859],[1425686400000,25.3447],[1425772800000,25.3447],[1425859200000,25.3447],[1425945600000,25.3447],[1426032000000,23.605],[1426118400000,23.1435],[1426204800000,22.7997],[1426291200000,22.9411],[1426377600000,22.9411],[1426464000000,22.9411],[1426550400000,23.0156],[1426636800000,23.486],[1426723200000,24.7761],[1426809600000,24.779],[1426896000000,24.7606],[1426982400000,24.7606],[1427068800000,24.7606],[1427155200000,24.9463],[1427241600000,25.4117],[1427328000000,25.7949],[1427414400000,25.8156],[1427500800000,25.8008],[1427587200000,25.8008],[1427673600000,25.8008],[1427760000000,25.4493],[1427846400000,25.2313],[1427932800000,25.2548],[1428019200000,25.4608],[1428105600000,25.2391],[1428192000000,25.2391],[1428278400000,25.2391],[1428364800000,25.3937],[1428451200000,25.497],[1428537600000,25.5369],[1428624000000,25.2493],[1428710400000,24.1863],[1428796800000,24.1863],[1428883200000,24.1863],[1428969600000,24.1863],[1429056000000,24.2196],[1429142400000,23.0443],[1429228800000,22.9707],[1429315200000,22.7717],[1429401600000,22.7717],[1429488000000,22.7717],[1429574400000,23.8634],[1429660800000,23.8355],[1429747200000,24.2171],[1429833600000,24.2705],[1429920000000,24.3016],[1430006400000,24.3016],[1430092800000,24.3016],[1430179200000,24.7808],[1430265600000,24.3261],[1430352000000,23.1557],[1430438400000,23.7],[1430524800000,23.7],[1430611200000,23.7],[1430697600000,23.7],[1430784000000,23.7],[1430870400000,23.4936],[1430956800000,23.6116],[1431043200000,23.4267],[1431129600000,23.1039],[1431216000000,23.1039],[1431302400000,23.1039],[1431388800000,23.1039],[1431475200000,23.1946],[1431561600000,23.0825],[1431648000000,23.4881],[1431734400000,23.447],[1431820800000,23.447],[1431907200000,23.447],[1431993600000,25.1909],[1432080000000,23.7604],[1432166400000,23.1395],[1432252800000,23.0217],[1432339200000,23.2623],[1432425600000,23.2623],[1432512000000,23.2623],[1432598400000,23.2005],[1432684800000,23.4073],[1432771200000,null],[1432857600000,22.9341],[1432944000000,23.1301],[1433030400000,23.1301],[1433116800000,23.1301],[1433203200000,23.1301],[1433289600000,23.239],[1433376000000,23.388],[1433462400000,23.7812],[1433548800000,23.5867],[1433635200000,23.5867],[1433721600000,23.5867],[1433808000000,23.5545],[1433894400000,23.8133],[1433980800000,23.8588],[1434067200000,23.6181],[1434153600000,23.628],[1434240000000,23.628],[1434326400000,23.628],[1434412800000,24.0613],[1434499200000,24.8387],[1434585600000,24.4193],[1434672000000,24.3238],[1434758400000,24.4459],[1434844800000,24.4459],[1434931200000,24.4459],[1435017600000,24.6966],[1435104000000,24.1174],[1435190400000,23.7469],[1435276800000,23.7523],[1435363200000,23.5414],[1435449600000,23.5414],[1435536000000,23.5414],[1435622400000,23.5414],[1435708800000,23.5027],[1435795200000,23.3171],[1435881600000,23.2514],[1435968000000,23.3218],[1436054400000,23.3218],[1436140800000,23.3218],[1436227200000,23.4095],[1436313600000,23.7207],[1436400000000,24.2217],[1436486400000,24.151],[1436572800000,24.5136],[1436659200000,24.5136],[1436745600000,24.5136],[1436832000000,24.2678],[1436918400000,24.2631],[1437004800000,24.3379],[1437091200000,23.8929],[1437177600000,23.9721],[1437264000000,23.9721],[1437350400000,23.9721],[1437436800000,23.9093],[1437523200000,23.9307],[1437609600000,23.9976],[1437696000000,24.2151],[1437782400000,24.1462],[1437868800000,24.1462],[1437955200000,24.1462],[1438041600000,24.1462],[1438128000000,24.2986],[1438214400000,24.3471],[1438300800000,23.6757],[1438387200000,23.1696],[1438473600000,23.1696],[1438560000000,23.1696],[1438646400000,23.7828],[1438732800000,23.8269],[1438819200000,23.4701],[1438905600000,23.3854],[1438992000000,23.0744],[1439078400000,23.0744],[1439164800000,23.0744],[1439251200000,23.3042],[1439337600000,23.6262],[1439424000000,23.8554],[1439510400000,23.7691],[1439596800000,24.3055],[1439683200000,24.3055],[1439769600000,24.3055],[1439856000000,24.4409],[1439942400000,24.4286],[1440028800000,24.3633],[1440115200000,24.637],[1440201600000,24.926],[1440288000000,24.926],[1440374400000,24.926],[1440460800000,null],[1440547200000,26.0305],[1440633600000,24.4296],[1440720000000,24.0542],[1440806400000,23.8718],[1440892800000,23.8718],[1440979200000,23.8718],[1441065600000,24.4548],[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,24.5024],[1442534400000,null],[1442620800000,24.71],[1442707200000,24.71],[1442793600000,24.71],[1442880000000,24.587],[1442966400000,24.2494],[1443052800000,24.0563],[1443139200000,24.1282],[1443225600000,24.104],[1443312000000,24.104],[1443398400000,24.104],[1443484800000,24.1142],[1443571200000,24.1195],[1443657600000,23.8575],[1443744000000,23.5923],[1443830400000,23.6005],[1443916800000,23.6005],[1444003200000,23.6005],[1444089600000,23.8379],[1444176000000,23.8668],[1444262400000,23.963],[1444348800000,23.9702],[1444435200000,24.424],[1444521600000,24.424],[1444608000000,24.424],[1444694400000,24.8133],[1444780800000,24.9463],[1444867200000,24.9463],[1444953600000,24.8119],[1445040000000,24.1942],[1445126400000,24.1942],[1445212800000,24.1942],[1445299200000,24.4992],[1445385600000,25.008],[1445472000000,25.6706],[1445558400000,25.206],[1445644800000,25.0218],[1445731200000,25.0218],[1445817600000,25.0218],[1445904000000,25.2217],[1445990400000,25.289],[1446076800000,25.3697],[1446163200000,25.0341],[1446249600000,25.3322],[1446336000000,25.3322],[1446422400000,25.3322],[1446508800000,25.3904],[1446595200000,25.2661],[1446681600000,25.2395],[1446768000000,24.9499],[1446854400000,24.6058],[1446940800000,24.6058],[1447027200000,24.6058],[1447113600000,24.5207],[1447200000000,24.3797],[1447286400000,24.3863],[1447372800000,24.581],[1447459200000,24.8216],[1447545600000,24.8216],[1447632000000,24.8216],[1447718400000,24.8849],[1447804800000,25.3637],[1447891200000,25.5062],[1447977600000,25.4769],[1448064000000,25.6347],[1448150400000,25.6347],[1448236800000,25.6347],[1448323200000,25.582],[1448409600000,25.5083],[1448496000000,25.1647],[1448582400000,25.0415],[1448668800000,25.27],[1448755200000,25.27],[1448841600000,25.27],[1448928000000,25.3347],[1449014400000,25.2721],[1449100800000,25.0949],[1449187200000,24.6381],[1449273600000,25.7817],[1449360000000,25.7817],[1449446400000,25.7817],[1449532800000,25.3479],[1449619200000,24.9181],[1449705600000,25.0493],[1449792000000,25.572],[1449878400000,26.1268],[1449964800000,26.1268],[1450051200000,26.1268],[1450137600000,26.1523],[1450224000000,25.773],[1450310400000,25.7136],[1450396800000,25.463],[1450483200000,25.5149],[1450569600000,25.5149],[1450656000000,25.5149],[1450742400000,25.5642],[1450828800000,25.3504],[1450915200000,25.1038],[1451001600000,25.1392],[1451088000000,25.3286],[1451174400000,25.3286],[1451260800000,25.3286],[1451347200000,26.0978],[1451433600000,26.0556]], 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, 18.555099],[1421280000000, 18.555099],[1423958400000, 27.605600],[1426377600000, 25.420549],[1429056000000, 24.333005],[1431648000000, 23.408503],[1434326400000, 23.820569],[1436918400000, 23.958620],[1439596800000, 23.981537],[1442275200000, 24.332412],[1444867200000, 24.547014],[1447545600000, 25.096748],[1450137600000, 25.552231]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });