$(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: 'Курс GBP, грн'}, 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: 'Курс GBP', data: [[1262736000000,12.8069],[1262822400000,12.7515],[1262908800000,12.7515],[1262995200000,12.7515],[1263081600000,12.7515],[1263168000000,12.7515],[1263254400000,12.9142],[1263340800000,12.9096],[1263427200000,13.0295],[1263513600000,13.0177],[1263600000000,13.0537],[1263686400000,13.0537],[1263772800000,13.0537],[1263859200000,13.0721],[1263945600000,13.0745],[1264032000000,13.0158],[1264118400000,12.9486],[1264204800000,12.9178],[1264291200000,12.9178],[1264377600000,12.9178],[1264464000000,12.917],[1264550400000,12.9105],[1264636800000,12.9847],[1264723200000,13.0001],[1264809600000,12.8918],[1264896000000,12.8918],[1264982400000,12.8918],[1265068800000,12.7215],[1265155200000,12.7613],[1265241600000,12.7698],[1265328000000,12.6896],[1265414400000,12.5432],[1265500800000,12.5432],[1265587200000,12.5432],[1265673600000,12.4987],[1265760000000,12.5179],[1265846400000,12.5094],[1265932800000,12.5221],[1266019200000,12.4968],[1266105600000,12.4968],[1266192000000,12.4968],[1266278400000,12.5499],[1266364800000,12.5474],[1266451200000,12.6399],[1266537600000,12.4692],[1266624000000,12.3107],[1266710400000,12.3107],[1266796800000,12.3107],[1266883200000,12.3765],[1266969600000,12.3245],[1267056000000,12.3351],[1267142400000,12.2349],[1267228800000,12.1457],[1267315200000,12.1457],[1267401600000,12.1457],[1267488000000,11.9185],[1267574400000,11.9359],[1267660800000,12.0249],[1267747200000,12.0583],[1267833600000,12.0151],[1267920000000,12.0151],[1268006400000,12.0151],[1268092800000,12.0151],[1268179200000,11.9416],[1268265600000,11.9202],[1268352000000,11.9952],[1268438400000,12.0904],[1268524800000,12.0904],[1268611200000,12.0904],[1268697600000,12.0067],[1268784000000,12.0702],[1268870400000,12.2426],[1268956800000,12.187],[1269043200000,12.0564],[1269129600000,12.0564],[1269216000000,12.0564],[1269302400000,11.9192],[1269388800000,11.9353],[1269475200000,11.8307],[1269561600000,11.8433],[1269648000000,11.7602],[1269734400000,11.7602],[1269820800000,11.7602],[1269907200000,11.8699],[1269993600000,11.9607],[1270080000000,12.0051],[1270166400000,12.0624],[1270252800000,12.0624],[1270339200000,12.0624],[1270425600000,12.0624],[1270512000000,12.0624],[1270598400000,12.0312],[1270684800000,12.0281],[1270771200000,12.0444],[1270857600000,12.1661],[1270944000000,12.1661],[1271030400000,12.1661],[1271116800000,12.2019],[1271203200000,12.2178],[1271289600000,12.2438],[1271376000000,12.2354],[1271462400000,12.2307],[1271548800000,12.2307],[1271635200000,12.2307],[1271721600000,12.0909],[1271808000000,12.1945],[1271894400000,12.1973],[1271980800000,12.1975],[1272067200000,12.1642],[1272153600000,12.1642],[1272240000000,12.1642],[1272326400000,12.243],[1272412800000,12.1487],[1272499200000,12.0554],[1272585600000,12.1064],[1272672000000,12.1261],[1272758400000,12.1261],[1272844800000,12.1261],[1272931200000,12.1261],[1273017600000,12.1261],[1273104000000,11.9792],[1273190400000,11.9667],[1273276800000,11.638],[1273363200000,11.638],[1273449600000,11.638],[1273536000000,11.638],[1273622400000,11.7081],[1273708800000,11.8375],[1273795200000,11.6956],[1273881600000,11.5518],[1273968000000,null],[1274054400000,11.5518],[1274140800000,11.4422],[1274227200000,11.4678],[1274313600000,11.3336],[1274400000000,11.3091],[1274486400000,11.3799],[1274572800000,11.3799],[1274659200000,11.3799],[1274745600000,11.3799],[1274832000000,11.3694],[1274918400000,11.4138],[1275004800000,11.4768],[1275091200000,11.5471],[1275177600000,11.5471],[1275264000000,11.5471],[1275350400000,11.4931],[1275436800000,11.5406],[1275523200000,11.6186],[1275609600000,11.6343],[1275696000000,11.5452],[1275782400000,11.5452],[1275868800000,11.5452],[1275955200000,11.4877],[1276041600000,11.4212],[1276128000000,11.5143],[1276214400000,11.5559],[1276300800000,11.5754],[1276387200000,11.5754],[1276473600000,11.5754],[1276560000000,11.6694],[1276646400000,11.6601],[1276732800000,11.6924],[1276819200000,11.7165],[1276905600000,11.7131],[1276992000000,11.7131],[1277078400000,11.7131],[1277164800000,11.7518],[1277251200000,11.6266],[1277337600000,11.795],[1277424000000,11.8491],[1277510400000,11.8035],[1277596800000,11.8035],[1277683200000,11.8035],[1277769600000,11.8035],[1277856000000,11.9015],[1277942400000,11.8669],[1278028800000,11.859],[1278115200000,12.0287],[1278201600000,12.0287],[1278288000000,12.0287],[1278374400000,11.9777],[1278460800000,11.9927],[1278547200000,11.9449],[1278633600000,11.9779],[1278720000000,11.9474],[1278806400000,11.9474],[1278892800000,11.9474],[1278979200000,11.8808],[1279065600000,11.9407],[1279152000000,12.0311],[1279238400000,12.1285],[1279324800000,12.1485],[1279411200000,12.1485],[1279497600000,12.1485],[1279584000000,12.0655],[1279670400000,11.9703],[1279756800000,12.0579],[1279843200000,12.0404],[1279929600000,12.1637],[1280016000000,12.1637],[1280102400000,12.1637],[1280188800000,12.2377],[1280275200000,12.2745],[1280361600000,12.2967],[1280448000000,12.3289],[1280534400000,12.316],[1280620800000,12.316],[1280707200000,12.316],[1280793600000,12.4909],[1280880000000,12.5735],[1280966400000,12.5797],[1281052800000,12.5448],[1281139200000,12.5239],[1281225600000,null],[1281312000000,12.5239],[1281398400000,12.5923],[1281484800000,12.4065],[1281571200000,12.4059],[1281657600000,12.2975],[1281744000000,12.2971],[1281830400000,12.2971],[1281916800000,12.2971],[1282003200000,12.3202],[1282089600000,12.3287],[1282176000000,12.3434],[1282262400000,12.3429],[1282348800000,12.2444],[1282435200000,null],[1282521600000,null],[1282608000000,12.2439],[1282694400000,12.2439],[1282780800000,12.1584],[1282867200000,12.2512],[1282953600000,12.2188],[1283040000000,12.2188],[1283126400000,12.2188],[1283212800000,12.2662],[1283299200000,12.1246],[1283385600000,12.1463],[1283472000000,12.1566],[1283558400000,12.1812],[1283644800000,12.1812],[1283731200000,12.1812],[1283817600000,12.1456],[1283904000000,12.1191],[1283990400000,12.2146],[1284076800000,12.1764],[1284163200000,12.2215],[1284249600000,12.2215],[1284336000000,12.2215],[1284422400000,12.1791],[1284508800000,12.1957],[1284595200000,12.3115],[1284681600000,12.3707],[1284768000000,12.3751],[1284854400000,12.3751],[1284940800000,12.3751],[1285027200000,12.3507],[1285113600000,12.2893],[1285200000000,12.3737],[1285286400000,12.4007],[1285372800000,12.4297],[1285459200000,12.4297],[1285545600000,12.4297],[1285632000000,12.5412],[1285718400000,12.5335],[1285804800000,12.4983],[1285891200000,12.5537],[1285977600000,12.514],[1286064000000,12.514],[1286150400000,12.514],[1286236800000,12.5237],[1286323200000,12.5763],[1286409600000,12.5601],[1286496000000,12.6338],[1286582400000,12.5405],[1286668800000,12.5405],[1286755200000,12.5405],[1286841600000,12.6037],[1286928000000,12.5249],[1287014400000,12.5291],[1287100800000,12.6845],[1287187200000,12.6986],[1287273600000,12.6986],[1287360000000,12.6986],[1287446400000,12.5688],[1287532800000,12.4514],[1287619200000,12.4334],[1287705600000,12.4566],[1287792000000,12.4245],[1287878400000,12.4245],[1287964800000,12.4245],[1288051200000,12.4371],[1288137600000,12.5525],[1288224000000,12.5183],[1288310400000,12.5955],[1288396800000,12.6206],[1288483200000,12.6206],[1288569600000,12.6206],[1288656000000,12.7213],[1288742400000,12.6877],[1288828800000,12.7527],[1288915200000,12.8802],[1289001600000,12.8437],[1289088000000,12.8437],[1289174400000,12.8437],[1289260800000,12.7712],[1289347200000,12.7923],[1289433600000,12.7118],[1289520000000,12.7798],[1289606400000,12.7805],[1289692800000,12.7805],[1289779200000,12.7805],[1289865600000,12.7481],[1289952000000,12.6934],[1290038400000,12.6048],[1290124800000,12.7113],[1290211200000,12.6918],[1290297600000,12.6918],[1290384000000,12.6918],[1290470400000,12.6712],[1290556800000,12.6337],[1290643200000,12.5497],[1290729600000,12.4935],[1290816000000,12.4281],[1290902400000,12.4281],[1290988800000,12.4281],[1291075200000,12.3641],[1291161600000,12.3176],[1291248000000,12.404],[1291334400000,12.3683],[1291420800000,12.4056],[1291507200000,12.4056],[1291593600000,12.4056],[1291680000000,12.4756],[1291766400000,12.5502],[1291852800000,12.5443],[1291939200000,12.5352],[1292025600000,12.5821],[1292112000000,12.5821],[1292198400000,12.5821],[1292284800000,12.5053],[1292371200000,12.6064],[1292457600000,12.4736],[1292544000000,12.4324],[1292630400000,12.3961],[1292716800000,12.3961],[1292803200000,12.3961],[1292889600000,12.3725],[1292976000000,12.3203],[1293062400000,12.296],[1293148800000,12.2654],[1293235200000,12.2749],[1293321600000,12.2749],[1293408000000,12.2749],[1293494400000,12.27],[1293580800000,12.3085],[1293667200000,12.2447]], 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, 12.925259],[1263513600000, 12.925259],[1266192000000, 12.489391],[1268611200000, 11.986687],[1271289600000, 12.141208],[1273881600000, 11.648225],[1276560000000, 11.654771],[1279152000000, 12.066225],[1281830400000, 12.352211],[1284508800000, 12.291660],[1287100800000, 12.547662],[1289779200000, 12.680654],[1292371200000, 12.405093]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });