$(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: [[1262736000000,1.40428],[1262822400000,1.39942],[1262908800000,1.39942],[1262995200000,1.39942],[1263081600000,1.39942],[1263168000000,1.39942],[1263254400000,1.4262],[1263340800000,1.41552],[1263427200000,1.42523],[1263513600000,1.41993],[1263600000000,1.41237],[1263686400000,1.41237],[1263772800000,1.41237],[1263859200000,1.41179],[1263945600000,1.40284],[1264032000000,1.39096],[1264118400000,1.38301],[1264204800000,1.38123],[1264291200000,1.38123],[1264377600000,1.38123],[1264464000000,1.38163],[1264550400000,1.36655],[1264636800000,1.37003],[1264723200000,1.36947],[1264809600000,1.36037],[1264896000000,1.36037],[1264982400000,1.36037],[1265068800000,1.35783],[1265155200000,1.36921],[1265241600000,1.37018],[1265328000000,1.35626],[1265414400000,1.33261],[1265500800000,1.33261],[1265587200000,1.33261],[1265673600000,1.3402],[1265760000000,1.35191],[1265846400000,1.35689],[1265932800000,1.35698],[1266019200000,1.34702],[1266105600000,1.34702],[1266192000000,1.34702],[1266278400000,1.35208],[1266364800000,1.35649],[1266451200000,1.37198],[1266537600000,1.34522],[1266624000000,1.33397],[1266710400000,1.33397],[1266796800000,1.33397],[1266883200000,1.35502],[1266969600000,1.35245],[1267056000000,1.34812],[1267142400000,1.34043],[1267228800000,1.34797],[1267315200000,1.34797],[1267401600000,1.34797],[1267488000000,1.34125],[1267574400000,1.34411],[1267660800000,1.34881],[1267747200000,1.35554],[1267833600000,1.3472],[1267920000000,1.3472],[1268006400000,1.3472],[1268092800000,1.3472],[1268179200000,1.34609],[1268265600000,1.35589],[1268352000000,1.3604],[1268438400000,1.36708],[1268524800000,1.36708],[1268611200000,1.36708],[1268697600000,1.36387],[1268784000000,1.36583],[1268870400000,1.36976],[1268956800000,1.36207],[1269043200000,1.35262],[1269129600000,1.35262],[1269216000000,1.35262],[1269302400000,1.33201],[1269388800000,1.33645],[1269475200000,1.31835],[1269561600000,1.31146],[1269648000000,1.3076],[1269734400000,1.3076],[1269820800000,1.3076],[1269907200000,1.32339],[1269993600000,1.32875],[1270080000000,1.33301],[1270166400000,1.33138],[1270252800000,1.33138],[1270339200000,1.33138],[1270425600000,1.33138],[1270512000000,1.33138],[1270598400000,1.32499],[1270684800000,1.32717],[1270771200000,1.32555],[1270857600000,1.33671],[1270944000000,1.33671],[1271030400000,1.33671],[1271116800000,1.34459],[1271203200000,1.3468],[1271289600000,1.34972],[1271376000000,1.34994],[1271462400000,1.34853],[1271548800000,1.34853],[1271635200000,1.34853],[1271721600000,1.33359],[1271808000000,1.34488],[1271894400000,1.34247],[1271980800000,1.33834],[1272067200000,1.33943],[1272153600000,1.33943],[1272240000000,1.33943],[1272326400000,1.34493],[1272412800000,1.34288],[1272499200000,1.33306],[1272585600000,1.33961],[1272672000000,1.34532],[1272758400000,1.34532],[1272844800000,1.34532],[1272931200000,1.34532],[1273017600000,1.34532],[1273104000000,1.31049],[1273190400000,1.29565],[1273276800000,1.2701],[1273363200000,1.2701],[1273449600000,1.2701],[1273536000000,1.2701],[1273622400000,1.28355],[1273708800000,1.29131],[1273795200000,1.28768],[1273881600000,1.28152],[1273968000000,null],[1274054400000,1.28152],[1274140800000,1.26751],[1274227200000,1.27463],[1274313600000,1.24645],[1274400000000,1.21511],[1274486400000,1.21632],[1274572800000,1.21632],[1274659200000,1.21632],[1274745600000,1.21632],[1274832000000,1.19199],[1274918400000,1.22286],[1275004800000,1.21616],[1275091200000,1.23274],[1275177600000,1.23274],[1275264000000,1.23274],[1275350400000,1.22854],[1275436800000,1.21291],[1275523200000,1.22236],[1275609600000,1.23605],[1275696000000,1.2168],[1275782400000,1.2168],[1275868800000,1.2168],[1275955200000,1.19349],[1276041600000,1.18483],[1276128000000,1.19565],[1276214400000,1.21245],[1276300800000,1.22521],[1276387200000,1.22521],[1276473600000,1.22521],[1276560000000,1.24016],[1276646400000,1.23559],[1276732800000,1.23314],[1276819200000,1.24288],[1276905600000,1.24513],[1276992000000,1.24513],[1277078400000,1.24513],[1277164800000,1.24749],[1277251200000,1.22231],[1277337600000,1.22413],[1277424000000,1.21566],[1277510400000,1.21692],[1277596800000,1.21692],[1277683200000,1.21692],[1277769600000,1.21692],[1277856000000,1.21957],[1277942400000,1.21676],[1278028800000,1.21191],[1278115200000,1.23107],[1278201600000,1.23107],[1278288000000,1.23107],[1278374400000,1.22987],[1278460800000,1.23294],[1278547200000,1.22664],[1278633600000,1.24086],[1278720000000,1.24198],[1278806400000,1.24198],[1278892800000,1.24198],[1278979200000,1.23951],[1279065600000,1.24824],[1279152000000,1.26641],[1279238400000,1.27864],[1279324800000,1.27527],[1279411200000,1.27527],[1279497600000,1.27527],[1279584000000,1.25708],[1279670400000,1.2479],[1279756800000,1.26311],[1279843200000,1.27243],[1279929600000,1.27837],[1280016000000,1.27837],[1280102400000,1.27837],[1280188800000,1.27584],[1280275200000,1.28614],[1280361600000,1.28491],[1280448000000,1.29422],[1280534400000,1.29496],[1280620800000,1.29496],[1280707200000,1.29496],[1280793600000,1.31274],[1280880000000,1.32379],[1280966400000,1.32129],[1281052800000,1.32081],[1281139200000,1.31972],[1281225600000,null],[1281312000000,1.31972],[1281398400000,1.32404],[1281484800000,1.31197],[1281571200000,1.2891],[1281657600000,1.26704],[1281744000000,1.27409],[1281830400000,1.27409],[1281916800000,1.27409],[1282003200000,1.27183],[1282089600000,1.28332],[1282176000000,1.2815],[1282262400000,1.28292],[1282348800000,1.25934],[1282435200000,null],[1282521600000,null],[1282608000000,1.25929],[1282694400000,1.25929],[1282780800000,1.2414],[1282867200000,1.25122],[1282953600000,1.25672],[1283040000000,1.25672],[1283126400000,1.25672],[1283212800000,1.25742],[1283299200000,1.24622],[1283385600000,1.27091],[1283472000000,1.28128],[1283558400000,1.28652],[1283644800000,1.28652],[1283731200000,1.28652],[1283817600000,1.29201],[1283904000000,1.27718],[1283990400000,1.27408],[1284076800000,1.27727],[1284163200000,1.2777],[1284249600000,1.2777],[1284336000000,1.2777],[1284422400000,1.28926],[1284508800000,1.29156],[1284595200000,1.30255],[1284681600000,1.30183],[1284768000000,1.29849],[1284854400000,1.29849],[1284940800000,1.29849],[1285027200000,1.30168],[1285113600000,1.3103],[1285200000000,1.34024],[1285286400000,1.33174],[1285372800000,1.33477],[1285459200000,1.33477],[1285545600000,1.33477],[1285632000000,1.34753],[1285718400000,1.33696],[1285804800000,1.35196],[1285891200000,1.35486],[1285977600000,1.35039],[1286064000000,1.35039],[1286150400000,1.35039],[1286236800000,1.35],[1286323200000,1.35553],[1286409600000,1.3642],[1286496000000,1.36708],[1286582400000,1.35484],[1286668800000,1.35484],[1286755200000,1.35484],[1286841600000,1.35696],[1286928000000,1.34684],[1287014400000,1.35718],[1287100800000,1.38202],[1287187200000,1.37695],[1287273600000,1.37695],[1287360000000,1.37695],[1287446400000,1.34895],[1287532800000,1.34223],[1287619200000,1.34415],[1287705600000,1.36252],[1287792000000,1.35384],[1287878400000,1.35384],[1287964800000,1.35384],[1288051200000,1.37157],[1288137600000,1.35549],[1288224000000,1.34075],[1288310400000,1.34517],[1288396800000,1.33817],[1288483200000,1.33817],[1288569600000,1.33817],[1288656000000,1.35365],[1288742400000,1.35322],[1288828800000,1.35218],[1288915200000,1.38452],[1289001600000,1.37296],[1289088000000,1.37296],[1289174400000,1.37296],[1289260800000,1.36273],[1289347200000,1.36579],[1289433600000,1.3487],[1289520000000,1.34116],[1289606400000,1.33683],[1289692800000,1.33683],[1289779200000,1.33683],[1289865600000,1.32863],[1289952000000,1.32265],[1290038400000,1.30737],[1290124800000,1.3272],[1290211200000,1.32366],[1290297600000,1.32366],[1290384000000,1.32366],[1290470400000,1.31992],[1290556800000,1.30532],[1290643200000,1.30019],[1290729600000,1.30116],[1290816000000,1.28385],[1290902400000,1.28385],[1290988800000,1.28385],[1291075200000,1.28379],[1291161600000,1.27522],[1291248000000,1.29165],[1291334400000,1.29591],[1291420800000,1.31418],[1291507200000,1.31418],[1291593600000,1.31418],[1291680000000,1.32472],[1291766400000,1.33395],[1291852800000,1.31816],[1291939200000,1.3208],[1292025600000,1.327],[1292112000000,1.327],[1292198400000,1.327],[1292284800000,1.33115],[1292371200000,1.35492],[1292457600000,1.35249],[1292544000000,1.33529],[1292630400000,1.33793],[1292716800000,1.33793],[1292803200000,1.33793],[1292889600000,1.33193],[1292976000000,1.33248],[1293062400000,1.32652],[1293148800000,1.32749],[1293235200000,1.33258],[1293321600000,1.33258],[1293408000000,1.33258],[1293494400000,1.33474],[1293580800000,1.34236],[1293667200000,1.33893]], 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: [[1263513600000, 1.394850],[1263513600000, 1.394850],[1266192000000, 1.349227],[1268611200000, 1.344603],[1271289600000, 1.338415],[1273881600000, 1.267897],[1276560000000, 1.223210],[1279152000000, 1.256401],[1281830400000, 1.283574],[1284508800000, 1.300567],[1287100800000, 1.355803],[1289779200000, 1.331607],[1292371200000, 1.327614]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });