$(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: [[1168041600000,9.79312],[1168128000000,9.79312],[1168214400000,9.79312],[1168300800000,9.79312],[1168387200000,9.80842],[1168473600000,9.78654],[1168560000000,9.8541],[1168646400000,9.8405],[1168732800000,9.8405],[1168819200000,9.8405],[1168905600000,9.92513],[1168992000000,9.92304],[1169078400000,9.92471],[1169164800000,9.94],[1169251200000,9.96769],[1169337600000,9.96769],[1169424000000,9.96769],[1169510400000,9.97584],[1169596800000,10.0507],[1169683200000,9.95834],[1169769600000,9.95276],[1169856000000,9.89746],[1169942400000,9.89746],[1170028800000,9.89746],[1170115200000,9.88353],[1170201600000,9.92104],[1170288000000,9.8632],[1170374400000,9.94269],[1170460800000,9.94194],[1170547200000,9.94194],[1170633600000,9.94194],[1170720000000,9.87238],[1170806400000,9.94569],[1170892800000,9.95966],[1170979200000,9.89212],[1171065600000,9.83976],[1171152000000,9.83976],[1171238400000,9.83976],[1171324800000,9.82916],[1171411200000,9.81582],[1171497600000,9.87063],[1171584000000,9.8848],[1171670400000,9.84266],[1171756800000,9.84266],[1171843200000,9.84266],[1171929600000,9.82323],[1172016000000,9.85924],[1172102400000,9.8695],[1172188800000,9.85047],[1172275200000,9.91134],[1172361600000,null],[1172448000000,9.91134],[1172534400000,9.91023],[1172620800000,9.9171],[1172707200000,9.90359],[1172793600000,9.91409],[1172880000000,9.82168],[1172966400000,9.82168],[1173052800000,9.82168],[1173139200000,9.68472],[1173225600000,9.73369],[1173312000000,9.73748],[1173398400000,9.73748],[1173484800000,9.73748],[1173571200000,9.73748],[1173657600000,9.73748],[1173744000000,9.73876],[1173830400000,9.77176],[1173916800000,9.71389],[1174003200000,9.78269],[1174089600000,9.83503],[1174176000000,9.83503],[1174262400000,9.83503],[1174348800000,9.83244],[1174435200000,9.88732],[1174521600000,9.888],[1174608000000,9.93627],[1174694400000,9.92938],[1174780800000,9.92938],[1174867200000,9.92938],[1174953600000,9.90438],[1175040000000,9.92671],[1175126400000,9.92015],[1175212800000,9.92604],[1175299200000,9.89348],[1175385600000,9.89348],[1175472000000,9.89348],[1175558400000,9.98348],[1175644800000,9.9775],[1175731200000,9.96491],[1175817600000,9.9358],[1175904000000,9.9358],[1175990400000,9.9358],[1176076800000,9.9358],[1176163200000,9.9358],[1176249600000,9.96638],[1176336000000,9.98245],[1176422400000,9.99094],[1176508800000,10.0362],[1176595200000,10.0362],[1176681600000,10.0362],[1176768000000,10.0547],[1176854400000,10.1172],[1176940800000,10.1231],[1177027200000,10.1112],[1177113600000,10.1149],[1177200000000,10.1149],[1177286400000,10.1149],[1177372800000,10.0978],[1177459200000,10.097],[1177545600000,10.1215],[1177632000000,10.0652],[1177718400000,10.0985],[1177804800000,10.0985],[1177891200000,10.0985],[1177977600000,10.0985],[1178064000000,10.0985],[1178150400000,10.0985],[1178236800000,10.0682],[1178323200000,10.0297],[1178409600000,10.0297],[1178496000000,10.0297],[1178582400000,10.0771],[1178668800000,10.0644],[1178755200000,10.0644],[1178841600000,10.0355],[1178928000000,9.99623],[1179014400000,9.99623],[1179100800000,9.99623],[1179187200000,9.99817],[1179273600000,9.98275],[1179360000000,10.0093],[1179446400000,9.98111],[1179532800000,9.95158],[1179619200000,9.95158],[1179705600000,9.95158],[1179792000000,9.94539],[1179878400000,9.96593],[1179964800000,10.0272],[1180051200000,10.0358],[1180137600000,10.0188],[1180224000000,10.0188],[1180310400000,10.0188],[1180396800000,10.0188],[1180483200000,10.0354],[1180569600000,9.97366],[1180656000000,9.9901],[1180742400000,9.98922],[1180828800000,9.98922],[1180915200000,9.98922],[1181001600000,10.0426],[1181088000000,10.0747],[1181174400000,10.0605],[1181260800000,10.0182],[1181347200000,9.93039],[1181433600000,9.93039],[1181520000000,9.93039],[1181606400000,null],[1181692800000,9.96927],[1181779200000,9.94801],[1181865600000,null],[1181952000000,null],[1182038400000,9.94684],[1182124800000,9.94684],[1182211200000,10.0089],[1182297600000,10.0326],[1182384000000,null],[1182470400000,10.0662],[1182556800000,10.085],[1182643200000,10.085],[1182729600000,10.085],[1182816000000,10.0933],[1182902400000,10.0977],[1182988800000,10.0842],[1183075200000,10.0842],[1183161600000,10.0842],[1183248000000,10.0842],[1183334400000,10.0842],[1183420800000,10.1561],[1183507200000,10.1741],[1183593600000,10.183],[1183680000000,10.1957],[1183766400000,10.1515],[1183852800000,10.1515],[1183939200000,10.1515],[1184025600000,10.1709],[1184112000000,10.1887],[1184198400000,10.2596],[1184284800000,10.2653],[1184371200000,10.2661],[1184457600000,10.2661],[1184544000000,10.2661],[1184630400000,10.2866],[1184716800000,10.3303],[1184803200000,10.3548],[1184889600000,10.3463],[1184976000000,10.3697],[1185062400000,10.3697],[1185148800000,10.3697],[1185235200000,10.3933],[1185321600000,10.4155],[1185408000000,10.3732],[1185494400000,10.3304],[1185580800000,10.2586],[1185667200000,10.2586],[1185753600000,10.2586],[1185840000000,null],[1185926400000,10.2701],[1186012800000,10.228],[1186099200000,10.2493],[1186185600000,10.271],[1186272000000,10.271],[1186358400000,10.271],[1186444800000,10.2596],[1186531200000,10.2358],[1186617600000,10.2751],[1186704000000,10.2402],[1186790400000,10.1843],[1186876800000,10.1843],[1186963200000,10.1843],[1187049600000,10.1715],[1187136000000,10.1112],[1187222400000,10.0448],[1187308800000,10.02],[1187395200000,10.0033],[1187481600000,10.0033],[1187568000000,10.0033],[1187654400000,10.0241],[1187740800000,10.0162],[1187827200000,10.0405],[1187913600000,10.1328],[1188000000000,10.1328],[1188086400000,10.1328],[1188172800000,10.1328],[1188259200000,10.1775],[1188345600000,10.164],[1188432000000,10.1649],[1188518400000,10.1372],[1188604800000,10.2088],[1188691200000,10.2088],[1188777600000,10.2088],[1188864000000,10.1874],[1188950400000,10.1568],[1189036800000,10.1508],[1189123200000,10.1917],[1189209600000,10.2118],[1189296000000,10.2118],[1189382400000,10.2118],[1189468800000,10.2531],[1189555200000,10.2633],[1189641600000,10.2559],[1189728000000,10.2415],[1189814400000,10.1564],[1189900800000,10.1564],[1189987200000,10.1564],[1190073600000,10.0935],[1190160000000,10.0731],[1190246400000,10.1014],[1190332800000,10.139],[1190419200000,10.1746],[1190505600000,10.1746],[1190592000000,10.1746],[1190678400000,10.2268],[1190764800000,10.1714],[1190851200000,null],[1190937600000,null],[1191024000000,10.2761],[1191110400000,10.2761],[1191196800000,10.2761],[1191283200000,10.3064],[1191369600000,10.3104],[1191456000000,10.3055],[1191542400000,10.2733],[1191628800000,10.3034],[1191715200000,10.3034],[1191801600000,10.3034],[1191888000000,10.2929],[1191974400000,10.246],[1192060800000,10.3144],[1192147200000,10.2877],[1192233600000,10.2468],[1192320000000,10.2468],[1192406400000,10.2468],[1192492800000,10.308],[1192579200000,10.2595],[1192665600000,10.284],[1192752000000,10.3453],[1192838400000,10.3477],[1192924800000,10.3477],[1193011200000,10.3477],[1193097600000,10.2564],[1193184000000,10.3461],[1193270400000,10.3324],[1193356800000,10.3577],[1193443200000,10.3622],[1193529600000,10.3622],[1193616000000,10.3622],[1193702400000,10.3977],[1193788800000,10.4354],[1193875200000,10.4628],[1193961600000,10.5194],[1194048000000,10.5192],[1194134400000,10.5192],[1194220800000,10.5192],[1194307200000,10.5091],[1194393600000,10.5421],[1194480000000,10.6269],[1194566400000,10.6375],[1194652800000,10.5867],[1194739200000,10.5867],[1194825600000,10.5867],[1194912000000,10.4513],[1194998400000,10.4676],[1195084800000,10.4497],[1195171200000,10.3416],[1195257600000,10.3299],[1195344000000,10.3299],[1195430400000,10.3299],[1195516800000,10.358],[1195603200000,10.4112],[1195689600000,10.3947],[1195776000000,10.4219],[1195862400000,10.3833],[1195948800000,10.3833],[1196035200000,10.3833],[1196121600000,10.4418],[1196208000000,10.4535],[1196294400000,10.434],[1196380800000,10.413],[1196467200000,10.4322],[1196553600000,10.4322],[1196640000000,10.4322],[1196726400000,10.4212],[1196812800000,10.4129],[1196899200000,10.2901],[1196985600000,10.2293],[1197072000000,10.2718],[1197158400000,10.2718],[1197244800000,10.2718],[1197331200000,10.3302],[1197417600000,10.3483],[1197504000000,10.2986],[1197590400000,10.3078],[1197676800000,10.2376],[1197763200000,10.2376],[1197849600000,10.2376],[1197936000000,10.1842],[1198022400000,10.1841],[1198108800000,10.1246],[1198195200000,10.0433],[1198281600000,10.0358],[1198368000000,10.0358],[1198454400000,10.0358],[1198540800000,9.99999],[1198627200000,9.99999],[1198713600000,9.99999],[1198800000000,10.0577],[1198886400000,10.0973]], 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: [[1168819200000, 9.892060],[1168819200000, 9.892060],[1171497600000, 9.881544],[1173916800000, 9.832376],[1176595200000, 10.028938],[1179187200000, 10.018300],[1181865600000, 10.021630],[1184457600000, 10.257663],[1187136000000, 10.152818],[1189814400000, 10.189746],[1192406400000, 10.313380],[1195084800000, 10.459772],[1197676800000, 10.215919]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });