$(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: [[1262736000000,0.039765],[1262822400000,0.039512],[1262908800000,0.039512],[1262995200000,0.039512],[1263081600000,0.039512],[1263168000000,0.039512],[1263254400000,0.04003],[1263340800000,0.03994],[1263427200000,0.040194],[1263513600000,0.039973],[1263600000000,0.039658],[1263686400000,0.039658],[1263772800000,0.039658],[1263859200000,0.039645],[1263945600000,0.039417],[1264032000000,0.039012],[1264118400000,0.038846],[1264204800000,0.039034],[1264291200000,0.039034],[1264377600000,0.039034],[1264464000000,0.039076],[1264550400000,0.038878],[1264636800000,0.038831],[1264723200000,0.038624],[1264809600000,0.038522],[1264896000000,0.038522],[1264982400000,0.038522],[1265068800000,0.038377],[1265155200000,0.038449],[1265241600000,0.038582],[1265328000000,0.038204],[1265414400000,0.03777],[1265500800000,0.03777],[1265587200000,0.03777],[1265673600000,0.037759],[1265760000000,0.038003],[1265846400000,0.037951],[1265932800000,0.03789],[1266019200000,0.037452],[1266105600000,0.037452],[1266192000000,0.037452],[1266278400000,0.037546],[1266364800000,0.037664],[1266451200000,0.037876],[1266537600000,0.037425],[1266624000000,0.037284],[1266710400000,0.037284],[1266796800000,0.037284],[1266883200000,0.037543],[1266969600000,0.037407],[1267056000000,0.037324],[1267142400000,0.037165],[1267228800000,0.037388],[1267315200000,0.037388],[1267401600000,0.037388],[1267488000000,0.037264],[1267574400000,0.037304],[1267660800000,0.037555],[1267747200000,0.03763],[1267833600000,0.037392],[1267920000000,0.037392],[1268006400000,0.037392],[1268092800000,0.037392],[1268179200000,0.037324],[1268265600000,0.037462],[1268352000000,0.037582],[1268438400000,0.037868],[1268524800000,0.037868],[1268611200000,0.037868],[1268697600000,0.037697],[1268784000000,0.037746],[1268870400000,0.037834],[1268956800000,0.03757],[1269043200000,0.037188],[1269129600000,0.037188],[1269216000000,0.037188],[1269302400000,0.03695],[1269388800000,0.037061],[1269475200000,0.036496],[1269561600000,0.036526],[1269648000000,0.036514],[1269734400000,0.036514],[1269820800000,0.036514],[1269907200000,0.036813],[1269993600000,0.036843],[1270080000000,0.036835],[1270166400000,0.036805],[1270252800000,0.036805],[1270339200000,0.036805],[1270425600000,0.036805],[1270512000000,0.036805],[1270598400000,0.036608],[1270684800000,0.036451],[1270771200000,0.036341],[1270857600000,0.036582],[1270944000000,0.036582],[1271030400000,0.036582],[1271116800000,0.037132],[1271203200000,0.037125],[1271289600000,0.037213],[1271376000000,0.037016],[1271462400000,0.036992],[1271548800000,0.036992],[1271635200000,0.036992],[1271721600000,0.036711],[1271808000000,0.036857],[1271894400000,0.03655],[1271980800000,0.036456],[1272067200000,0.036379],[1272153600000,0.036379],[1272240000000,0.036379],[1272326400000,0.036408],[1272412800000,0.036322],[1272499200000,0.036199],[1272585600000,0.03623],[1272672000000,0.036391],[1272758400000,0.036391],[1272844800000,0.036391],[1272931200000,0.036391],[1273017600000,0.036391],[1273104000000,0.035322],[1273190400000,0.034784],[1273276800000,0.034836],[1273363200000,0.034836],[1273449600000,0.034836],[1273536000000,0.034836],[1273622400000,0.034705],[1273708800000,0.034672],[1273795200000,0.034401],[1273881600000,0.034141],[1273968000000,null],[1274054400000,0.034141],[1274140800000,0.033751],[1274227200000,0.033967],[1274313600000,0.033534],[1274400000000,0.033709],[1274486400000,0.034153],[1274572800000,0.034153],[1274659200000,0.034153],[1274745600000,0.034153],[1274832000000,0.033405],[1274918400000,0.033639],[1275004800000,0.03349],[1275091200000,0.033843],[1275177600000,0.033843],[1275264000000,0.033843],[1275350400000,0.033632],[1275436800000,0.033217],[1275523200000,0.033391],[1275609600000,0.033527],[1275696000000,0.032942],[1275782400000,0.032942],[1275868800000,0.032942],[1275955200000,0.032665],[1276041600000,0.032612],[1276128000000,0.032792],[1276214400000,0.032882],[1276300800000,0.033102],[1276387200000,0.033102],[1276473600000,0.033102],[1276560000000,0.033431],[1276646400000,0.033453],[1276732800000,0.033499],[1276819200000,0.033731],[1276905600000,0.033754],[1276992000000,0.033754],[1277078400000,0.033754],[1277164800000,0.033801],[1277251200000,0.033436],[1277337600000,0.033469],[1277424000000,0.033443],[1277510400000,0.033522],[1277596800000,0.033522],[1277683200000,0.033522],[1277769600000,0.033522],[1277856000000,0.033258],[1277942400000,0.03345],[1278028800000,0.03362],[1278115200000,0.034228],[1278201600000,0.034228],[1278288000000,0.034228],[1278374400000,0.034178],[1278460800000,0.034303],[1278547200000,0.034265],[1278633600000,0.034513],[1278720000000,0.034441],[1278806400000,0.034441],[1278892800000,0.034441],[1278979200000,0.034262],[1279065600000,0.034249],[1279152000000,0.034612],[1279238400000,0.034949],[1279324800000,0.035413],[1279411200000,0.035413],[1279497600000,0.035413],[1279584000000,0.035294],[1279670400000,0.03498],[1279756800000,0.034903],[1279843200000,0.034992],[1279929600000,0.035115],[1280016000000,0.035115],[1280102400000,0.035115],[1280188800000,0.035204],[1280275200000,0.035478],[1280361600000,0.035362],[1280448000000,0.035571],[1280534400000,0.035457],[1280620800000,0.035457],[1280707200000,0.035457],[1280793600000,0.035577],[1280880000000,0.035978],[1280966400000,0.035934],[1281052800000,0.035874],[1281139200000,0.035849],[1281225600000,null],[1281312000000,0.035849],[1281398400000,0.036057],[1281484800000,0.035731],[1281571200000,0.035412],[1281657600000,0.034798],[1281744000000,0.034822],[1281830400000,0.034822],[1281916800000,0.034822],[1282003200000,0.034883],[1282089600000,0.034988],[1282176000000,0.035042],[1282262400000,0.034924],[1282348800000,0.034584],[1282435200000,null],[1282521600000,null],[1282608000000,0.034583],[1282694400000,0.034583],[1282780800000,0.034316],[1282867200000,0.034534],[1282953600000,0.034575],[1283040000000,0.034575],[1283126400000,0.034575],[1283212800000,0.034536],[1283299200000,0.034484],[1283385600000,0.034808],[1283472000000,0.034908],[1283558400000,0.034998],[1283644800000,0.034998],[1283731200000,0.034998],[1283817600000,0.035107],[1283904000000,0.034752],[1283990400000,0.034624],[1284076800000,0.034673],[1284163200000,0.034701],[1284249600000,0.034701],[1284336000000,0.034701],[1284422400000,0.034908],[1284508800000,0.035086],[1284595200000,0.03547],[1284681600000,0.035713],[1284768000000,0.035664],[1284854400000,0.035664],[1284940800000,0.035664],[1285027200000,0.035702],[1285113600000,0.035828],[1285200000000,0.036494],[1285286400000,0.036368],[1285372800000,0.03658],[1285459200000,0.03658],[1285545600000,0.03658],[1285632000000,0.036776],[1285718400000,0.03673],[1285804800000,0.037142],[1285891200000,0.037226],[1285977600000,0.037438],[1286064000000,0.037438],[1286150400000,0.037438],[1286236800000,0.037381],[1286323200000,0.037586],[1286409600000,0.037793],[1286496000000,0.038104],[1286582400000,0.037842],[1286668800000,0.037842],[1286755200000,0.037842],[1286841600000,0.038011],[1286928000000,0.03773],[1287014400000,0.038071],[1287100800000,0.038456],[1287187200000,0.038424],[1287273600000,0.038424],[1287360000000,0.038424],[1287446400000,0.03791],[1287532800000,0.037809],[1287619200000,0.037815],[1287705600000,0.038238],[1287792000000,0.038015],[1287878400000,0.038015],[1287964800000,0.038015],[1288051200000,0.038279],[1288137600000,0.037954],[1288224000000,0.037656],[1288310400000,0.037804],[1288396800000,0.037801],[1288483200000,0.037801],[1288569600000,0.037801],[1288656000000,0.038021],[1288742400000,0.038277],[1288828800000,0.038271],[1288915200000,0.0389],[1289001600000,0.038438],[1289088000000,0.038438],[1289174400000,0.038438],[1289260800000,0.037992],[1289347200000,0.03804],[1289433600000,0.037559],[1289520000000,0.037418],[1289606400000,0.037491],[1289692800000,0.037491],[1289779200000,0.037491],[1289865600000,0.037273],[1289952000000,0.037249],[1290038400000,0.036899],[1290124800000,0.037354],[1290211200000,0.037428],[1290297600000,0.037428],[1290384000000,0.037428],[1290470400000,0.037354],[1290556800000,0.03694],[1290643200000,0.036515],[1290729600000,0.036466],[1290816000000,0.0362],[1290902400000,0.0362],[1290988800000,0.0362],[1291075200000,0.035984],[1291161600000,0.035579],[1291248000000,0.035899],[1291334400000,0.036017],[1291420800000,0.036276],[1291507200000,0.036276],[1291593600000,0.036276],[1291680000000,0.036446],[1291766400000,0.036642],[1291852800000,0.036193],[1291939200000,0.036231],[1292025600000,0.036321],[1292112000000,0.036321],[1292198400000,0.036321],[1292284800000,0.036384],[1292371200000,0.036891],[1292457600000,0.036685],[1292544000000,0.036352],[1292630400000,0.036412],[1292716800000,0.036412],[1292803200000,0.036412],[1292889600000,0.036102],[1292976000000,0.036124],[1293062400000,0.036006],[1293148800000,0.035874],[1293235200000,0.035961],[1293321600000,0.035961],[1293408000000,0.035961],[1293494400000,0.036061],[1293580800000,0.036223],[1293667200000,0.036054]], 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, 0.039343],[1263513600000, 0.039343],[1266192000000, 0.037714],[1268611200000, 0.037268],[1271289600000, 0.036678],[1273881600000, 0.034570],[1276560000000, 0.033324],[1279152000000, 0.034749],[1281830400000, 0.035112],[1284508800000, 0.035513],[1287100800000, 0.037890],[1289779200000, 0.037433],[1292371200000, 0.036230]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });