$(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: 'Курс EUR, грн'}, 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: 'Курс EUR', data: [[1262736000000,11.5319],[1262822400000,11.4585],[1262908800000,11.4585],[1262995200000,11.4585],[1263081600000,11.4585],[1263168000000,11.4585],[1263254400000,11.6086],[1263340800000,11.5825],[1263427200000,11.6562],[1263513600000,11.5923],[1263600000000,11.5009],[1263686400000,11.5009],[1263772800000,11.5009],[1263859200000,11.4969],[1263945600000,11.4311],[1264032000000,11.3134],[1264118400000,11.2653],[1264204800000,11.3199],[1264291200000,11.3199],[1264377600000,11.3199],[1264464000000,11.3321],[1264550400000,11.2748],[1264636800000,11.261],[1264723200000,11.2009],[1264809600000,11.1714],[1264896000000,11.1714],[1264982400000,11.1714],[1265068800000,11.1294],[1265155200000,11.1502],[1265241600000,11.1889],[1265328000000,11.0793],[1265414400000,10.9533],[1265500800000,10.9533],[1265587200000,10.9533],[1265673600000,10.9501],[1265760000000,11.0208],[1265846400000,11.0057],[1265932800000,10.9881],[1266019200000,10.861],[1266105600000,10.861],[1266192000000,10.861],[1266278400000,10.8883],[1266364800000,10.9225],[1266451200000,10.9841],[1266537600000,10.8532],[1266624000000,10.8125],[1266710400000,10.8125],[1266796800000,10.8125],[1266883200000,10.8876],[1266969600000,10.848],[1267056000000,10.8241],[1267142400000,10.7777],[1267228800000,10.8424],[1267315200000,10.8424],[1267401600000,10.8424],[1267488000000,10.8065],[1267574400000,10.8181],[1267660800000,10.891],[1267747200000,10.9128],[1267833600000,10.8436],[1267920000000,10.8436],[1268006400000,10.8436],[1268092800000,10.8436],[1268179200000,10.8239],[1268265600000,10.864],[1268352000000,10.8988],[1268438400000,10.9817],[1268524800000,10.9817],[1268611200000,10.9817],[1268697600000,10.9321],[1268784000000,10.9464],[1268870400000,10.9718],[1268956800000,10.8952],[1269043200000,10.7845],[1269129600000,10.7845],[1269216000000,10.7845],[1269302400000,10.7154],[1269388800000,10.7477],[1269475200000,10.5837],[1269561600000,10.5926],[1269648000000,10.5889],[1269734400000,10.5889],[1269820800000,10.5889],[1269907200000,10.6758],[1269993600000,10.6845],[1270080000000,10.6821],[1270166400000,10.6734],[1270252800000,10.6734],[1270339200000,10.6734],[1270425600000,10.6734],[1270512000000,10.6734],[1270598400000,10.6163],[1270684800000,10.5709],[1270771200000,10.5388],[1270857600000,10.6088],[1270944000000,10.6088],[1271030400000,10.6088],[1271116800000,10.7682],[1271203200000,10.7663],[1271289600000,10.7917],[1271376000000,10.7347],[1271462400000,10.7276],[1271548800000,10.7276],[1271635200000,10.7276],[1271721600000,10.6461],[1271808000000,10.6885],[1271894400000,10.5994],[1271980800000,10.5722],[1272067200000,10.55],[1272153600000,10.55],[1272240000000,10.55],[1272326400000,10.5584],[1272412800000,10.5335],[1272499200000,10.4979],[1272585600000,10.5066],[1272672000000,10.5533],[1272758400000,10.5533],[1272844800000,10.5533],[1272931200000,10.5533],[1273017600000,10.5533],[1273104000000,10.2434],[1273190400000,10.0873],[1273276800000,10.1024],[1273363200000,10.1024],[1273449600000,10.1024],[1273536000000,10.1024],[1273622400000,10.0643],[1273708800000,10.0548],[1273795200000,9.97633],[1273881600000,9.90103],[1273968000000,null],[1274054400000,9.90103],[1274140800000,9.78769],[1274227200000,9.85031],[1274313600000,9.72483],[1274400000000,9.77556],[1274486400000,9.9045],[1274572800000,9.9045],[1274659200000,9.9045],[1274745600000,9.9045],[1274832000000,9.68734],[1274918400000,9.75538],[1275004800000,9.71221],[1275091200000,9.81444],[1275177600000,9.81444],[1275264000000,9.81444],[1275350400000,9.75342],[1275436800000,9.63296],[1275523200000,9.6835],[1275609600000,9.72276],[1275696000000,9.55309],[1275782400000,9.55309],[1275868800000,9.55309],[1275955200000,9.47272],[1276041600000,9.45735],[1276128000000,9.50964],[1276214400000,9.53591],[1276300800000,9.59949],[1276387200000,9.59949],[1276473600000,9.59949],[1276560000000,9.69496],[1276646400000,9.70123],[1276732800000,9.71467],[1276819200000,9.7821],[1276905600000,9.7886],[1276992000000,9.7886],[1277078400000,9.7886],[1277164800000,9.80215],[1277251200000,9.69657],[1277337600000,9.70612],[1277424000000,9.69851],[1277510400000,9.72136],[1277596800000,9.72136],[1277683200000,9.72136],[1277769600000,9.72136],[1277856000000,9.64496],[1277942400000,9.70059],[1278028800000,9.74985],[1278115200000,9.9261],[1278201600000,9.9261],[1278288000000,9.9261],[1278374400000,9.91152],[1278460800000,9.94798],[1278547200000,9.93698],[1278633600000,10.0087],[1278720000000,9.98803],[1278806400000,9.98803],[1278892800000,9.98803],[1278979200000,9.9359],[1279065600000,9.93228],[1279152000000,10.0375],[1279238400000,10.1351],[1279324800000,10.2697],[1279411200000,10.2697],[1279497600000,10.2697],[1279584000000,10.2351],[1279670400000,10.1442],[1279756800000,10.122],[1279843200000,10.1476],[1279929600000,10.1835],[1280016000000,10.1835],[1280102400000,10.1835],[1280188800000,10.2093],[1280275200000,10.2885],[1280361600000,10.2548],[1280448000000,10.3156],[1280534400000,10.2826],[1280620800000,10.2826],[1280707200000,10.2826],[1280793600000,10.3175],[1280880000000,10.4335],[1280966400000,10.421],[1281052800000,10.4034],[1281139200000,10.3961],[1281225600000,null],[1281312000000,10.3961],[1281398400000,10.4566],[1281484800000,10.3619],[1281571200000,10.2696],[1281657600000,10.0913],[1281744000000,10.0984],[1281830400000,10.0984],[1281916800000,10.0984],[1282003200000,10.1161],[1282089600000,10.1465],[1282176000000,10.1623],[1282262400000,10.128],[1282348800000,10.0294],[1282435200000,null],[1282521600000,null],[1282608000000,10.029],[1282694400000,10.029],[1282780800000,9.95166],[1282867200000,10.0148],[1282953600000,10.0267],[1283040000000,10.0267],[1283126400000,10.0267],[1283212800000,10.0153],[1283299200000,10.0003],[1283385600000,10.0942],[1283472000000,10.1234],[1283558400000,10.1494],[1283644800000,10.1494],[1283731200000,10.1494],[1283817600000,10.181],[1283904000000,10.0782],[1283990400000,10.041],[1284076800000,10.0553],[1284163200000,10.0632],[1284249600000,10.0632],[1284336000000,10.0632],[1284422400000,10.1233],[1284508800000,10.1749],[1284595200000,10.2862],[1284681600000,10.3567],[1284768000000,10.3425],[1284854400000,10.3425],[1284940800000,10.3425],[1285027200000,10.3536],[1285113600000,10.39],[1285200000000,10.5832],[1285286400000,10.5468],[1285372800000,10.6081],[1285459200000,10.6081],[1285545600000,10.6081],[1285632000000,10.665],[1285718400000,10.6516],[1285804800000,10.7711],[1285891200000,10.7956],[1285977600000,10.8571],[1286064000000,10.8571],[1286150400000,10.8571],[1286236800000,10.8405],[1286323200000,10.8998],[1286409600000,10.96],[1286496000000,11.0501],[1286582400000,10.9742],[1286668800000,10.9742],[1286755200000,10.9742],[1286841600000,11.0232],[1286928000000,10.9418],[1287014400000,11.0406],[1287100800000,11.1522],[1287187200000,11.143],[1287273600000,11.143],[1287360000000,11.143],[1287446400000,10.994],[1287532800000,10.9647],[1287619200000,10.9663],[1287705600000,11.0889],[1287792000000,11.0243],[1287878400000,11.0243],[1287964800000,11.0243],[1288051200000,11.1008],[1288137600000,11.0066],[1288224000000,10.9204],[1288310400000,10.9631],[1288396800000,10.9623],[1288483200000,10.9623],[1288569600000,10.9623],[1288656000000,11.0262],[1288742400000,11.1004],[1288828800000,11.0987],[1288915200000,11.2811],[1289001600000,11.1471],[1289088000000,11.1471],[1289174400000,11.1471],[1289260800000,11.0177],[1289347200000,11.0315],[1289433600000,10.8921],[1289520000000,10.8514],[1289606400000,10.8724],[1289692800000,10.8724],[1289779200000,10.8724],[1289865600000,10.8091],[1289952000000,10.8021],[1290038400000,10.7008],[1290124800000,10.8326],[1290211200000,10.854],[1290297600000,10.854],[1290384000000,10.854],[1290470400000,10.8326],[1290556800000,10.7127],[1290643200000,10.5894],[1290729600000,10.5751],[1290816000000,10.498],[1290902400000,10.498],[1290988800000,10.498],[1291075200000,10.4353],[1291161600000,10.3178],[1291248000000,10.4107],[1291334400000,10.4451],[1291420800000,10.52],[1291507200000,10.52],[1291593600000,10.52],[1291680000000,10.5693],[1291766400000,10.6263],[1291852800000,10.4958],[1291939200000,10.507],[1292025600000,10.5331],[1292112000000,10.5331],[1292198400000,10.5331],[1292284800000,10.5514],[1292371200000,10.6984],[1292457600000,10.6387],[1292544000000,10.5421],[1292630400000,10.5596],[1292716800000,10.5596],[1292803200000,10.5596],[1292889600000,10.4696],[1292976000000,10.476],[1293062400000,10.4417],[1293148800000,10.4035],[1293235200000,10.4288],[1293321600000,10.4288],[1293408000000,10.4288],[1293494400000,10.4577],[1293580800000,10.5047],[1293667200000,10.4557]], 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, 11.409402],[1263513600000, 11.409402],[1266192000000, 10.936955],[1268611200000, 10.807823],[1271289600000, 10.636589],[1273881600000, 10.025299],[1276560000000, 9.663949],[1279152000000, 10.077365],[1281830400000, 10.182493],[1284508800000, 10.298841],[1287100800000, 10.988030],[1289779200000, 10.855515],[1292371200000, 10.506739]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });