$(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: 'Курс NOK, грн'}, 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: 'Курс NOK', data: [[1420070400000,2.12577],[1420156800000,2.12577],[1420243200000,2.12577],[1420329600000,2.12577],[1420416000000,2.12577],[1420502400000,2.12577],[1420588800000,2.06438],[1420675200000,2.06438],[1420761600000,null],[1420848000000,2.05296],[1420934400000,2.05296],[1421020800000,2.05296],[1421107200000,2.05451],[1421193600000,2.03916],[1421280000000,null],[1421366400000,2.05128],[1421452800000,2.07497],[1421539200000,2.09099],[1421625600000,2.09099],[1421712000000,2.08195],[1421798400000,2.07231],[1421884800000,2.0766],[1421971200000,null],[1422057600000,2.07759],[1422144000000,2.07759],[1422230400000,2.07759],[1422316800000,2.03366],[1422403200000,2.04677],[1422489600000,2.03586],[1422576000000,2.05783],[1422662400000,2.07215],[1422748800000,2.07215],[1422835200000,2.07215],[1422921600000,2.06647],[1423008000000,2.10594],[1423094400000,2.20341],[1423180800000,2.38718],[1423267200000,null],[1423353600000,3.05569],[1423440000000,3.05569],[1423526400000,3.33283],[1423612800000,3.25122],[1423699200000,3.37045],[1423785600000,3.30123],[1423872000000,3.35837],[1423958400000,3.35837],[1424044800000,3.35837],[1424131200000,3.42606],[1424217600000,3.49509],[1424304000000,3.5686],[1424390400000,3.63962],[1424476800000,3.66946],[1424563200000,3.66946],[1424649600000,3.66946],[1424736000000,3.72718],[1424822400000,3.69926],[1424908800000,3.68354],[1424995200000,3.94434],[1425081600000,3.66879],[1425168000000,3.66879],[1425254400000,3.66879],[1425340800000,3.52094],[1425427200000,3.23705],[1425513600000,3.08354],[1425600000000,2.98171],[1425686400000,2.96568],[1425772800000,2.96568],[1425859200000,2.96568],[1425945600000,2.96568],[1426032000000,2.75164],[1426118400000,2.67881],[1426204800000,2.63368],[1426291200000,2.67037],[1426377600000,2.67037],[1426464000000,2.67037],[1426550400000,2.66833],[1426636800000,2.70389],[1426723200000,2.81819],[1426809600000,2.78415],[1426896000000,2.86731],[1426982400000,2.86731],[1427068800000,2.86731],[1427155200000,2.86328],[1427241600000,2.94543],[1427328000000,3.00168],[1427414400000,3.00426],[1427500800000,2.99992],[1427587200000,2.99992],[1427673600000,2.99992],[1427760000000,2.94382],[1427846400000,2.89899],[1427932800000,2.91307],[1428019200000,2.94324],[1428105600000,2.91761],[1428192000000,2.91761],[1428278400000,2.91761],[1428364800000,2.93548],[1428451200000,2.92062],[1428537600000,2.94319],[1428624000000,2.91495],[1428710400000,2.80812],[1428796800000,2.80812],[1428883200000,2.80812],[1428969600000,2.80812],[1429056000000,2.85541],[1429142400000,2.73848],[1429228800000,2.74358],[1429315200000,2.71189],[1429401600000,2.71189],[1429488000000,2.71189],[1429574400000,2.82674],[1429660800000,2.82914],[1429747200000,2.8683],[1429833600000,2.84998],[1429920000000,2.86745],[1430006400000,2.86745],[1430092800000,2.86745],[1430179200000,2.93803],[1430265600000,2.89873],[1430352000000,2.76157],[1430438400000,2.82664],[1430524800000,2.82664],[1430611200000,2.82664],[1430697600000,2.82664],[1430784000000,2.82664],[1430870400000,2.78113],[1430956800000,2.80657],[1431043200000,2.81318],[1431129600000,2.75653],[1431216000000,2.75653],[1431302400000,2.75653],[1431388800000,2.75653],[1431475200000,2.76307],[1431561600000,2.76205],[1431648000000,2.78533],[1431734400000,2.79981],[1431820800000,2.79981],[1431907200000,2.79981],[1431993600000,3.00554],[1432080000000,2.84402],[1432166400000,2.75553],[1432252800000,2.72996],[1432339200000,2.76487],[1432425600000,2.76487],[1432512000000,2.76487],[1432598400000,2.76526],[1432684800000,2.79707],[1432771200000,null],[1432857600000,2.70099],[1432944000000,2.70971],[1433030400000,2.70971],[1433116800000,2.70971],[1433203200000,2.70971],[1433289600000,2.67869],[1433376000000,2.68381],[1433462400000,2.7219],[1433548800000,2.67773],[1433635200000,2.67773],[1433721600000,2.67773],[1433808000000,2.66847],[1433894400000,2.71284],[1433980800000,2.74271],[1434067200000,2.68815],[1434153600000,2.71742],[1434240000000,2.71742],[1434326400000,2.71742],[1434412800000,2.76185],[1434499200000,2.84749],[1434585600000,2.79893],[1434672000000,2.75436],[1434758400000,2.76991],[1434844800000,2.76991],[1434931200000,2.76991],[1435017600000,2.82505],[1435104000000,2.76402],[1435190400000,2.70805],[1435276800000,2.71161],[1435363200000,2.68339],[1435449600000,2.68339],[1435536000000,2.68339],[1435622400000,2.68339],[1435708800000,2.6735],[1435795200000,2.66679],[1435881600000,2.64371],[1435968000000,2.63524],[1436054400000,2.63524],[1436140800000,2.63524],[1436227200000,2.62748],[1436313600000,2.64062],[1436400000000,2.67053],[1436486400000,2.67794],[1436572800000,2.75418],[1436659200000,2.75418],[1436745600000,2.75418],[1436832000000,2.72564],[1436918400000,2.69814],[1437004800000,2.72221],[1437091200000,2.69733],[1437177600000,2.6994],[1437264000000,2.6994],[1437350400000,2.6994],[1437436800000,2.68779],[1437523200000,2.68387],[1437609600000,2.69666],[1437696000000,2.70167],[1437782400000,2.68426],[1437868800000,2.68426],[1437955200000,2.68426],[1438041600000,2.68426],[1438128000000,2.69342],[1438214400000,2.70599],[1438300800000,2.6474],[1438387200000,2.57397],[1438473600000,2.57397],[1438560000000,2.57397],[1438646400000,2.64239],[1438732800000,2.64699],[1438819200000,2.6091],[1438905600000,2.5909],[1438992000000,2.5522],[1439078400000,2.5522],[1439164800000,2.5522],[1439251200000,2.5819],[1439337600000,2.60101],[1439424000000,2.6284],[1439510400000,2.61933],[1439596800000,2.65997],[1439683200000,2.65997],[1439769600000,2.65997],[1439856000000,2.66866],[1439942400000,2.66819],[1440028800000,2.65742],[1440115200000,2.66851],[1440201600000,2.68758],[1440288000000,2.68758],[1440374400000,2.68758],[1440460800000,null],[1440547200000,2.77259],[1440633600000,2.57099],[1440720000000,2.55828],[1440806400000,2.55586],[1440892800000,2.55586],[1440979200000,2.55586],[1441065600000,2.61311],[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,2.65221],[1442534400000,null],[1442620800000,2.67511],[1442707200000,2.67511],[1442793600000,2.67511],[1442880000000,2.66656],[1442966400000,2.63165],[1443052800000,2.60434],[1443139200000,2.54974],[1443225600000,2.5338],[1443312000000,2.5338],[1443398400000,2.5338],[1443484800000,2.51661],[1443571200000,2.53302],[1443657600000,2.50486],[1443744000000,2.49482],[1443830400000,2.50736],[1443916800000,2.50736],[1444003200000,2.50736],[1444089600000,2.53946],[1444176000000,2.54538],[1444262400000,2.58835],[1444348800000,2.60023],[1444435200000,2.65781],[1444521600000,2.65781],[1444608000000,2.65781],[1444694400000,2.70947],[1444780800000,2.69137],[1444867200000,2.69137],[1444953600000,2.69197],[1445040000000,2.62966],[1445126400000,2.62966],[1445212800000,2.62966],[1445299200000,2.6673],[1445385600000,2.70781],[1445472000000,2.77145],[1445558400000,2.71792],[1445644800000,2.70433],[1445731200000,2.70433],[1445817600000,2.70433],[1445904000000,2.73376],[1445990400000,2.70096],[1446076800000,2.69317],[1446163200000,2.67258],[1446249600000,2.69692],[1446336000000,2.69692],[1446422400000,2.69692],[1446508800000,2.71933],[1446595200000,2.70486],[1446681600000,2.70593],[1446768000000,2.68091],[1446854400000,2.65392],[1446940800000,2.65392],[1447027200000,2.65392],[1447113600000,2.64018],[1447200000000,2.62811],[1447286400000,2.64407],[1447372800000,2.63632],[1447459200000,2.65983],[1447545600000,2.65983],[1447632000000,2.65983],[1447718400000,2.67436],[1447804800000,2.74588],[1447891200000,2.76236],[1447977600000,2.75259],[1448064000000,2.78532],[1448150400000,2.78532],[1448236800000,2.78532],[1448323200000,2.78808],[1448409600000,2.76994],[1448496000000,2.74095],[1448582400000,2.72397],[1448668800000,2.75017],[1448755200000,2.75017],[1448841600000,2.75017],[1448928000000,2.75572],[1449014400000,2.74652],[1449100800000,2.74547],[1449187200000,2.68564],[1449273600000,2.78736],[1449360000000,2.78736],[1449446400000,2.78736],[1449532800000,2.71783],[1449619200000,2.60445],[1449705600000,2.62654],[1449792000000,2.70975],[1449878400000,2.73909],[1449964800000,2.73909],[1450051200000,2.73909],[1450137600000,2.73288],[1450224000000,2.71452],[1450310400000,2.69098],[1450396800000,2.67721],[1450483200000,2.68578],[1450569600000,2.68578],[1450656000000,2.68578],[1450742400000,2.6745],[1450828800000,2.65644],[1450915200000,2.63502],[1451001600000,2.6429],[1451088000000,2.66281],[1451174400000,2.66281],[1451260800000,2.66281],[1451347200000,2.73619],[1451433600000,2.73938]], 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, 2.076930],[1421280000000, 2.076930],[1423958400000, 3.192976],[1426377600000, 2.949468],[1429056000000, 2.850094],[1431648000000, 2.786083],[1434326400000, 2.723871],[1436918400000, 2.685941],[1439596800000, 2.619114],[1442275200000, 2.599570],[1444867200000, 2.642473],[1447545600000, 2.708648],[1450137600000, 2.704648]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });