$(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: 'Курс JPY, грн'}, 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: 'Курс JPY', data: [[1262736000000,0.0870072],[1262822400000,0.0863552],[1262908800000,0.0863552],[1262995200000,0.0863552],[1263081600000,0.0863552],[1263168000000,0.0863552],[1263254400000,0.0864829],[1263340800000,0.0874744],[1263427200000,0.0876276],[1263513600000,0.0872387],[1263600000000,0.0879545],[1263686400000,0.0879545],[1263772800000,0.0879545],[1263859200000,0.088214],[1263945600000,0.0880735],[1264032000000,0.0879392],[1264118400000,0.087233],[1264204800000,0.0888879],[1264291200000,0.0888879],[1264377600000,0.0888879],[1264464000000,0.0887124],[1264550400000,0.0892626],[1264636800000,0.0894083],[1264723200000,0.0886426],[1264809600000,0.0885565],[1264896000000,0.0885565],[1264982400000,0.0885565],[1265068800000,0.0886101],[1265155200000,0.0883531],[1265241600000,0.0882891],[1265328000000,0.0881545],[1265414400000,0.0894224],[1265500800000,0.0894224],[1265587200000,0.0894224],[1265673600000,0.0897036],[1265760000000,0.0893095],[1265846400000,0.0894703],[1265932800000,0.0893125],[1266019200000,0.0887844],[1266105600000,0.0887844],[1266192000000,0.0887844],[1266278400000,0.0889423],[1266364800000,0.0890322],[1266451200000,0.0880912],[1266537600000,0.0880227],[1266624000000,0.0870782],[1266710400000,0.0870782],[1266796800000,0.0870782],[1266883200000,0.0875348],[1266969600000,0.0880593],[1267056000000,0.0886055],[1267142400000,0.089323],[1267228800000,0.0896661],[1267315200000,0.0896661],[1267401600000,0.0896661],[1267488000000,0.0895539],[1267574400000,0.0896427],[1267660800000,0.0899337],[1267747200000,0.0902929],[1267833600000,0.0892624],[1267920000000,0.0892624],[1268006400000,0.0892624],[1268092800000,0.0892624],[1268179200000,0.0889247],[1268265600000,0.0882108],[1268352000000,0.0880074],[1268438400000,0.088157],[1268524800000,0.088157],[1268611200000,0.088157],[1268697600000,0.0879491],[1268784000000,0.0881213],[1268870400000,0.0881764],[1268956800000,0.088342],[1269043200000,0.0877786],[1269129600000,0.0877786],[1269216000000,0.0877786],[1269302400000,0.0883742],[1269388800000,0.0879808],[1269475200000,0.086313],[1269561600000,0.0858121],[1269648000000,0.0853946],[1269734400000,0.0853946],[1269820800000,0.0853946],[1269907200000,0.0855773],[1269993600000,0.0856129],[1270080000000,0.0848258],[1270166400000,0.0845216],[1270252800000,0.0845216],[1270339200000,0.0845216],[1270425600000,0.0845216],[1270512000000,0.0845216],[1270598400000,0.0842298],[1270684800000,0.08454],[1270771200000,0.0851552],[1270857600000,0.0846404],[1270944000000,0.0846404],[1271030400000,0.0846404],[1271116800000,0.0847953],[1271203200000,0.0852168],[1271289600000,0.0846936],[1271376000000,0.0850745],[1271462400000,0.0856151],[1271548800000,0.0856151],[1271635200000,0.0856151],[1271721600000,0.086203],[1271808000000,0.0852894],[1271894400000,0.0850336],[1271980800000,0.0852393],[1272067200000,0.0843261],[1272153600000,0.0843261],[1272240000000,0.0843261],[1272326400000,0.0841572],[1272412800000,0.0844709],[1272499200000,0.0843337],[1272585600000,0.0842143],[1272672000000,0.0838831],[1272758400000,0.0838831],[1272844800000,0.0838831],[1272931200000,0.0838831],[1273017600000,0.0838831],[1273104000000,0.0835108],[1273190400000,0.0845257],[1273276800000,0.0857294],[1273363200000,0.0857294],[1273449600000,0.0857294],[1273536000000,0.0857294],[1273622400000,0.0857412],[1273708800000,0.0851668],[1273795200000,0.0852751],[1273881600000,0.0856861],[1273968000000,null],[1274054400000,0.0856861],[1274140800000,0.0857291],[1274227200000,0.0854172],[1274313600000,0.0864507],[1274400000000,0.0873364],[1274486400000,0.0883699],[1274572800000,0.0883699],[1274659200000,0.0883699],[1274745600000,0.0883699],[1274832000000,0.0884446],[1274918400000,0.08761],[1275004800000,0.0876632],[1275091200000,0.0868074],[1275177600000,0.0868074],[1275264000000,0.0868074],[1275350400000,0.0866047],[1275436800000,0.0870579],[1275523200000,0.0861828],[1275609600000,0.0854823],[1275696000000,0.0855015],[1275782400000,0.0855015],[1275868800000,0.0855015],[1275955200000,0.0862254],[1276041600000,0.0865107],[1276128000000,0.0864591],[1276214400000,0.0868163],[1276300800000,0.0863807],[1276387200000,0.0863807],[1276473600000,0.0863807],[1276560000000,0.0862311],[1276646400000,0.0867963],[1276732800000,0.0866221],[1276819200000,0.0866516],[1276905600000,0.0873047],[1276992000000,0.0873047],[1277078400000,0.0873047],[1277164800000,0.086668],[1277251200000,0.0872857],[1277337600000,0.087632],[1277424000000,0.0884981],[1277510400000,0.088384],[1277596800000,0.088384],[1277683200000,0.088384],[1277769600000,0.088384],[1277856000000,0.0890496],[1277942400000,0.0891681],[1278028800000,0.0901595],[1278115200000,0.0903358],[1278201600000,0.0903358],[1278288000000,0.0903358],[1278374400000,0.0901621],[1278460800000,0.0900595],[1278547200000,0.090699],[1278633600000,0.0897726],[1278720000000,0.0892985],[1278806400000,0.0892985],[1278892800000,0.0892985],[1278979200000,0.0892313],[1279065600000,0.0895203],[1279152000000,0.0892304],[1279238400000,0.0896043],[1279324800000,0.0912541],[1279411200000,0.0912541],[1279497600000,0.0912541],[1279584000000,0.0907047],[1279670400000,0.0909793],[1279756800000,0.0907637],[1279843200000,0.0909532],[1279929600000,0.0905358],[1280016000000,0.0905358],[1280102400000,0.0905358],[1280188800000,0.0909027],[1280275200000,0.0904167],[1280361600000,0.0899469],[1280448000000,0.0907746],[1280534400000,0.0913036],[1280620800000,0.0913036],[1280707200000,0.0913036],[1280793600000,0.0910874],[1280880000000,0.0919169],[1280966400000,0.0922865],[1281052800000,0.0915306],[1281139200000,0.0918873],[1281225600000,null],[1281312000000,0.0918873],[1281398400000,0.092145],[1281484800000,0.0915123],[1281571200000,0.0928873],[1281657600000,0.0921581],[1281744000000,0.0919877],[1281830400000,0.0919877],[1281916800000,0.0919877],[1282003200000,0.0923932],[1282089600000,0.0925273],[1282176000000,0.0924436],[1282262400000,0.0922235],[1282348800000,0.0924024],[1282435200000,null],[1282521600000,null],[1282608000000,0.0923989],[1282694400000,0.0923989],[1282780800000,0.0934516],[1282867200000,0.093465],[1282953600000,0.0930643],[1283040000000,0.0930643],[1283126400000,0.0930643],[1283212800000,0.0931314],[1283299200000,0.0934],[1283385600000,0.0938647],[1283472000000,0.0939004],[1283558400000,0.0936463],[1283644800000,0.0936463],[1283731200000,0.0936463],[1283817600000,0.0939035],[1283904000000,0.0943123],[1283990400000,0.0943618],[1284076800000,0.0944512],[1284163200000,0.0941893],[1284249600000,0.0941893],[1284336000000,0.0941893],[1284422400000,0.094004],[1284508800000,0.0950569],[1284595200000,0.0926355],[1284681600000,0.0925286],[1284768000000,0.09236],[1284854400000,0.09236],[1284940800000,0.09236],[1285027200000,0.0923848],[1285113600000,0.0927264],[1285200000000,0.0935409],[1285286400000,0.0937573],[1285372800000,0.093711],[1285459200000,0.093711],[1285545600000,0.093711],[1285632000000,0.0939484],[1285718400000,0.0940785],[1285804800000,0.0946075],[1285891200000,0.0949645],[1285977600000,0.0950213],[1286064000000,0.0950213],[1286150400000,0.0950213],[1286236800000,0.0950089],[1286323200000,0.0949464],[1286409600000,0.0953206],[1286496000000,0.0960046],[1286582400000,0.0960879],[1286668800000,0.0960879],[1286755200000,0.0960879],[1286841600000,0.0964919],[1286928000000,0.0965308],[1287014400000,0.0966527],[1287100800000,0.0974587],[1287187200000,0.097506],[1287273600000,0.097506],[1287360000000,0.097506],[1287446400000,0.0972917],[1287532800000,0.0968954],[1287619200000,0.0974],[1287705600000,0.0975706],[1287792000000,0.097405],[1287878400000,0.097405],[1287964800000,0.097405],[1288051200000,0.0980546],[1288137600000,0.097309],[1288224000000,0.0968291],[1288310400000,0.0973892],[1288396800000,0.0979912],[1288483200000,0.0979912],[1288569600000,0.0979912],[1288656000000,0.0985009],[1288742400000,0.0980777],[1288828800000,0.0976394],[1288915200000,0.0979688],[1289001600000,0.0974308],[1289088000000,0.0974308],[1289174400000,0.0974308],[1289260800000,0.0976052],[1289347200000,0.0981098],[1289433600000,0.0959823],[1289520000000,0.0962171],[1289606400000,0.0965664],[1289692800000,0.0965664],[1289779200000,0.0965664],[1289865600000,0.095394],[1289952000000,0.0954163],[1290038400000,0.0951183],[1290124800000,0.0952566],[1290211200000,0.0951355],[1290297600000,0.0951355],[1290384000000,0.0951355],[1290470400000,0.0950476],[1290556800000,0.0952242],[1290643200000,0.0951602],[1290729600000,0.0949721],[1290816000000,0.0946448],[1290902400000,0.0946448],[1290988800000,0.0946448],[1291075200000,0.0942409],[1291161600000,0.0946588],[1291248000000,0.0943253],[1291334400000,0.0941252],[1291420800000,0.0948942],[1291507200000,0.0948942],[1291593600000,0.0948942],[1291680000000,0.096032],[1291766400000,0.0962262],[1291852800000,0.0944891],[1291939200000,0.0946404],[1292025600000,0.0950639],[1292112000000,0.0950639],[1292198400000,0.0950639],[1292284800000,0.0945888],[1292371200000,0.0958383],[1292457600000,0.0950903],[1292544000000,0.0947347],[1292630400000,0.0949092],[1292716800000,0.0949092],[1292803200000,0.0949092],[1292889600000,0.0950919],[1292976000000,0.0952362],[1293062400000,0.0952019],[1293148800000,0.0954889],[1293235200000,0.0960027],[1293321600000,0.0960027],[1293408000000,0.0960027],[1293494400000,0.0960391],[1293580800000,0.0970857],[1293667200000,0.0968213]], 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.087797],[1263513600000, 0.087797],[1266192000000, 0.088663],[1268611200000, 0.087985],[1271289600000, 0.084794],[1273881600000, 0.086016],[1276560000000, 0.086929],[1279152000000, 0.090278],[1281830400000, 0.092282],[1284508800000, 0.093639],[1287100800000, 0.096650],[1289779200000, 0.096175],[1292371200000, 0.095355]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });