$(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: 'Курс ISK, грн'}, 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: 'Курс ISK', data: [[1420070400000,0.124377],[1420156800000,0.124377],[1420243200000,0.124377],[1420329600000,0.124377],[1420416000000,0.124377],[1420502400000,0.124377],[1420588800000,0.122152],[1420675200000,0.122152],[1420761600000,null],[1420848000000,0.120529],[1420934400000,0.120529],[1421020800000,0.120529],[1421107200000,0.120982],[1421193600000,0.12091],[1421280000000,null],[1421366400000,0.12089],[1421452800000,0.120265],[1421539200000,0.120486],[1421625600000,0.120486],[1421712000000,0.119965],[1421798400000,0.119568],[1421884800000,0.119836],[1421971200000,null],[1422057600000,0.119836],[1422144000000,0.119836],[1422230400000,0.119836],[1422316800000,0.117146],[1422403200000,0.117853],[1422489600000,0.118393],[1422576000000,0.120003],[1422662400000,0.120906],[1422748800000,0.120906],[1422835200000,0.120906],[1422921600000,0.121461],[1423008000000,0.122236],[1423094400000,0.126132],[1423180800000,0.137058],[1423267200000,null],[1423353600000,0.176099],[1423440000000,0.176099],[1423526400000,0.1902],[1423612800000,0.187872],[1423699200000,0.192586],[1423785600000,0.189528],[1423872000000,0.196159],[1423958400000,0.196159],[1424044800000,0.196159],[1424131200000,0.198506],[1424217600000,0.20066],[1424304000000,0.203521],[1424390400000,0.207604],[1424476800000,0.210571],[1424563200000,0.210571],[1424649600000,0.210571],[1424736000000,0.214271],[1424822400000,0.213519],[1424908800000,0.211493],[1424995200000,0.227902],[1425081600000,0.210838],[1425168000000,0.210838],[1425254400000,0.210838],[1425340800000,0.201622],[1425427200000,0.186327],[1425513600000,0.177252],[1425600000000,0.171092],[1425686400000,0.16892],[1425772800000,0.16892],[1425859200000,0.16892],[1425945600000,0.16892],[1426032000000,0.157711],[1426118400000,0.154313],[1426204800000,0.15432],[1426291200000,0.155299],[1426377600000,0.155299],[1426464000000,0.155299],[1426550400000,0.156385],[1426636800000,0.159134],[1426723200000,0.167941],[1426809600000,0.168594],[1426896000000,0.167817],[1426982400000,0.167817],[1427068800000,0.167817],[1427155200000,0.167328],[1427241600000,0.170009],[1427328000000,0.174071],[1427414400000,0.174429],[1427500800000,0.172093],[1427587200000,0.172093],[1427673600000,0.172093],[1427760000000,0.171577],[1427846400000,0.170916],[1427932800000,0.171264],[1428019200000,0.171464],[1428105600000,0.169972],[1428192000000,0.169972],[1428278400000,0.169972],[1428364800000,0.171012],[1428451200000,0.172762],[1428537600000,0.173112],[1428624000000,0.171174],[1428710400000,0.165094],[1428796800000,0.165094],[1428883200000,0.165094],[1428969600000,0.165094],[1429056000000,0.16563],[1429142400000,0.158341],[1429228800000,0.15776],[1429315200000,0.155775],[1429401600000,0.155775],[1429488000000,0.155775],[1429574400000,0.162988],[1429660800000,0.162304],[1429747200000,0.165739],[1429833600000,0.165657],[1429920000000,0.165268],[1430006400000,0.165268],[1430092800000,0.165268],[1430179200000,0.168682],[1430265600000,0.165902],[1430352000000,0.15795],[1430438400000,0.161168],[1430524800000,0.161168],[1430611200000,0.161168],[1430697600000,0.161168],[1430784000000,0.161168],[1430870400000,0.159663],[1430956800000,0.160365],[1431043200000,0.158866],[1431129600000,0.155819],[1431216000000,0.155819],[1431302400000,0.155819],[1431388800000,0.155819],[1431475200000,0.156761],[1431561600000,0.155922],[1431648000000,0.155911],[1431734400000,0.158462],[1431820800000,0.158462],[1431907200000,0.158462],[1431993600000,0.1708],[1432080000000,0.160761],[1432166400000,0.156111],[1432252800000,0.155937],[1432339200000,0.157533],[1432425600000,0.157533],[1432512000000,0.157533],[1432598400000,0.159777],[1432684800000,0.158528],[1432771200000,null],[1432857600000,0.156005],[1432944000000,0.156788],[1433030400000,0.156788],[1433116800000,0.156788],[1433203200000,0.156788],[1433289600000,0.157362],[1433376000000,0.158154],[1433462400000,0.160618],[1433548800000,0.158997],[1433635200000,0.158997],[1433721600000,0.158997],[1433808000000,0.158272],[1433894400000,0.15978],[1433980800000,0.16018],[1434067200000,0.158662],[1434153600000,0.158194],[1434240000000,0.158194],[1434326400000,0.158194],[1434412800000,0.161585],[1434499200000,0.167583],[1434585600000,0.163818],[1434672000000,0.163129],[1434758400000,0.164666],[1434844800000,0.164666],[1434931200000,0.164666],[1435017600000,0.166427],[1435104000000,0.163259],[1435190400000,0.160294],[1435276800000,0.160588],[1435363200000,0.159534],[1435449600000,0.159534],[1435536000000,0.159534],[1435622400000,0.159534],[1435708800000,0.159614],[1435795200000,0.15867],[1435881600000,0.158291],[1435968000000,0.158748],[1436054400000,0.158748],[1436140800000,0.158748],[1436227200000,0.159618],[1436313600000,0.1621],[1436400000000,0.164238],[1436486400000,0.163253],[1436572800000,0.165695],[1436659200000,0.165695],[1436745600000,0.165695],[1436832000000,0.164769],[1436918400000,0.164206],[1437004800000,0.165041],[1437091200000,0.162335],[1437177600000,0.162532],[1437264000000,0.162532],[1437350400000,0.162532],[1437436800000,0.162144],[1437523200000,0.162388],[1437609600000,0.163331],[1437696000000,0.163759],[1437782400000,0.16375],[1437868800000,0.16375],[1437955200000,0.16375],[1438041600000,0.16375],[1438128000000,0.164315],[1438214400000,0.165444],[1438300800000,0.160706],[1438387200000,0.157263],[1438473600000,0.157263],[1438560000000,0.157263],[1438646400000,0.161661],[1438732800000,0.162082],[1438819200000,0.159511],[1438905600000,0.159567],[1438992000000,0.156907],[1439078400000,0.156907],[1439164800000,0.156907],[1439251200000,0.158289],[1439337600000,0.160255],[1439424000000,0.161692],[1439510400000,0.161579],[1439596800000,0.165332],[1439683200000,0.165332],[1439769600000,0.165332],[1439856000000,0.166481],[1439942400000,0.166358],[1440028800000,0.165986],[1440115200000,0.167369],[1440201600000,0.169509],[1440288000000,0.169509],[1440374400000,0.169509],[1440460800000,null],[1440547200000,0.175976],[1440633600000,0.166945],[1440720000000,0.164623],[1440806400000,0.16386],[1440892800000,0.16386],[1440979200000,0.16386],[1441065600000,0.168408],[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.170649],[1442534400000,null],[1442620800000,0.171932],[1442707200000,0.171932],[1442793600000,0.171932],[1442880000000,0.171669],[1442966400000,0.169119],[1443052800000,0.167848],[1443139200000,0.167299],[1443225600000,0.168336],[1443312000000,0.168336],[1443398400000,0.168336],[1443484800000,0.168527],[1443571200000,0.168777],[1443657600000,0.167221],[1443744000000,0.165674],[1443830400000,0.165862],[1443916800000,0.165862],[1444003200000,0.165862],[1444089600000,0.167726],[1444176000000,0.167618],[1444262400000,0.168557],[1444348800000,0.169257],[1444435200000,0.171928],[1444521600000,0.171928],[1444608000000,0.171928],[1444694400000,0.174934],[1444780800000,0.175715],[1444867200000,0.175715],[1444953600000,0.174797],[1445040000000,0.170573],[1445126400000,0.170573],[1445212800000,0.170573],[1445299200000,0.172678],[1445385600000,0.176236],[1445472000000,0.180384],[1445558400000,0.176999],[1445644800000,0.176544],[1445731200000,0.176544],[1445817600000,0.176544],[1445904000000,0.178076],[1445990400000,0.177938],[1446076800000,0.178536],[1446163200000,0.177193],[1446249600000,0.177887],[1446336000000,0.177887],[1446422400000,0.177887],[1446508800000,0.17954],[1446595200000,0.17907],[1446681600000,0.178829],[1446768000000,0.176527],[1446854400000,0.174734],[1446940800000,0.174734],[1447027200000,0.174734],[1447113600000,0.17422],[1447200000000,0.173552],[1447286400000,0.173783],[1447372800000,0.174674],[1447459200000,0.176487],[1447545600000,0.176487],[1447632000000,0.176487],[1447718400000,0.17691],[1447804800000,0.180453],[1447891200000,0.181673],[1447977600000,0.181025],[1448064000000,0.18206],[1448150400000,0.18206],[1448236800000,0.18206],[1448323200000,0.181571],[1448409600000,0.181077],[1448496000000,0.179165],[1448582400000,0.178012],[1448668800000,0.180003],[1448755200000,0.180003],[1448841600000,0.180003],[1448928000000,0.180373],[1449014400000,0.179841],[1449100800000,0.178366],[1449187200000,0.173822],[1449273600000,0.181926],[1449360000000,0.181926],[1449446400000,0.181926],[1449532800000,0.179823],[1449619200000,0.176323],[1449705600000,0.177178],[1449792000000,0.180743],[1449878400000,0.184733],[1449964800000,0.184733],[1450051200000,0.184733],[1450137600000,0.184615],[1450224000000,0.182614],[1450310400000,0.181672],[1450396800000,0.179927],[1450483200000,0.180032],[1450569600000,0.180032],[1450656000000,0.180032],[1450742400000,0.180354],[1450828800000,0.178561],[1450915200000,0.177421],[1451001600000,0.177168],[1451088000000,0.178502],[1451174400000,0.178502],[1451260800000,0.178502],[1451347200000,0.184368],[1451433600000,0.184181]], 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.121048],[1421280000000, 0.121048],[1423958400000, 0.184059],[1426377600000, 0.170809],[1429056000000, 0.165536],[1431648000000, 0.158536],[1434326400000, 0.160566],[1436918400000, 0.162585],[1439596800000, 0.163233],[1442275200000, 0.169507],[1444867200000, 0.172834],[1447545600000, 0.178190],[1450137600000, 0.180592]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });