$(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: 'Курс HUF, грн'}, 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: 'Курс HUF', data: [[1168041600000,0.0260514],[1168128000000,0.0260514],[1168214400000,0.0260514],[1168300800000,0.0260514],[1168387200000,0.0259845],[1168473600000,0.025549],[1168560000000,0.0256691],[1168646400000,0.02573],[1168732800000,0.02573],[1168819200000,0.02573],[1168905600000,0.0259231],[1168992000000,0.0258712],[1169078400000,0.0256706],[1169164800000,0.0258379],[1169251200000,0.0259623],[1169337600000,0.0259623],[1169424000000,0.0259623],[1169510400000,0.02598],[1169596800000,0.0259679],[1169683200000,0.0258432],[1169769600000,0.0257369],[1169856000000,0.0254502],[1169942400000,0.0254502],[1170028800000,0.0254502],[1170115200000,0.0254212],[1170201600000,0.0254165],[1170288000000,0.0254326],[1170374400000,0.0257867],[1170460800000,0.0257071],[1170547200000,0.0257071],[1170633600000,0.0257071],[1170720000000,0.0256317],[1170806400000,0.0259121],[1170892800000,0.0258981],[1170979200000,0.0259184],[1171065600000,0.0259626],[1171152000000,0.0259626],[1171238400000,0.0259626],[1171324800000,0.0256872],[1171411200000,0.0258882],[1171497600000,0.0260587],[1171584000000,0.0263397],[1171670400000,0.0262287],[1171756800000,0.0262287],[1171843200000,0.0262287],[1171929600000,0.026337],[1172016000000,0.0262931],[1172102400000,0.0263998],[1172188800000,0.0262984],[1172275200000,0.0262847],[1172361600000,null],[1172448000000,0.0262847],[1172534400000,0.0262742],[1172620800000,0.0262387],[1172707200000,0.0261938],[1172793600000,0.026068],[1172880000000,0.0261263],[1172966400000,0.0261263],[1173052800000,0.0261263],[1173139200000,0.0259471],[1173225600000,0.0261224],[1173312000000,0.0262264],[1173398400000,0.0262264],[1173484800000,0.0262264],[1173571200000,0.0262264],[1173657600000,0.0262264],[1173744000000,0.0265868],[1173830400000,0.0267004],[1173916800000,0.026494],[1174003200000,0.026693],[1174089600000,0.0270137],[1174176000000,0.0270137],[1174262400000,0.0270137],[1174348800000,0.0272901],[1174435200000,0.0272481],[1174521600000,0.0271034],[1174608000000,0.0274087],[1174694400000,0.0272806],[1174780800000,0.0272806],[1174867200000,0.0272806],[1174953600000,0.0271394],[1175040000000,0.0272267],[1175126400000,0.0270539],[1175212800000,0.0271885],[1175299200000,0.0271412],[1175385600000,0.0271412],[1175472000000,0.0271412],[1175558400000,0.0273328],[1175644800000,0.0273231],[1175731200000,0.0273962],[1175817600000,0.0274929],[1175904000000,0.0274929],[1175990400000,0.0274929],[1176076800000,0.0274929],[1176163200000,0.0274929],[1176249600000,0.0275862],[1176336000000,0.0276316],[1176422400000,0.0276963],[1176508800000,0.0277938],[1176595200000,0.0277938],[1176681600000,0.0277938],[1176768000000,0.0279114],[1176854400000,0.027848],[1176940800000,0.0278602],[1177027200000,0.0278055],[1177113600000,0.0279731],[1177200000000,0.0279731],[1177286400000,0.0279731],[1177372800000,0.0279292],[1177459200000,0.0278999],[1177545600000,0.0279852],[1177632000000,0.0279241],[1177718400000,0.0280092],[1177804800000,0.0280092],[1177891200000,0.0280092],[1177977600000,0.0280092],[1178064000000,0.0280092],[1178150400000,0.0280092],[1178236800000,0.0278672],[1178323200000,0.0277765],[1178409600000,0.0277765],[1178496000000,0.0277765],[1178582400000,0.0279268],[1178668800000,0.0278495],[1178755200000,0.0278495],[1178841600000,0.0275282],[1178928000000,0.027394],[1179014400000,0.027394],[1179100800000,0.027394],[1179187200000,0.0276756],[1179273600000,0.0274809],[1179360000000,0.0275584],[1179446400000,0.0273856],[1179532800000,0.0271335],[1179619200000,0.0271335],[1179705600000,0.0271335],[1179792000000,0.027278],[1179878400000,0.0274139],[1179964800000,0.0275062],[1180051200000,0.0272227],[1180137600000,0.0271693],[1180224000000,0.0271693],[1180310400000,0.0271693],[1180396800000,0.0271693],[1180483200000,0.0273538],[1180569600000,0.0269972],[1180656000000,0.0271479],[1180742400000,0.027106],[1180828800000,0.027106],[1180915200000,0.027106],[1181001600000,0.0272554],[1181088000000,0.0272561],[1181174400000,0.0269737],[1181260800000,0.0268708],[1181347200000,0.0264653],[1181433600000,0.0264653],[1181520000000,0.0264653],[1181606400000,null],[1181692800000,0.0266436],[1181779200000,0.0263786],[1181865600000,null],[1181952000000,null],[1182038400000,0.0267137],[1182124800000,0.0267137],[1182211200000,0.0270544],[1182297600000,0.0270979],[1182384000000,null],[1182470400000,0.0271804],[1182556800000,0.027626],[1182643200000,0.027626],[1182729600000,0.027626],[1182816000000,0.0275393],[1182902400000,0.0274339],[1182988800000,0.0273946],[1183075200000,0.0273946],[1183161600000,0.0273946],[1183248000000,0.0273946],[1183334400000,0.0273946],[1183420800000,0.0279497],[1183507200000,0.0279492],[1183593600000,0.027942],[1183680000000,0.0279769],[1183766400000,0.0278731],[1183852800000,0.0278731],[1183939200000,0.0278731],[1184025600000,0.027996],[1184112000000,0.0280325],[1184198400000,0.0281378],[1184284800000,0.0282323],[1184371200000,0.0283269],[1184457600000,0.0283269],[1184544000000,0.0283269],[1184630400000,0.0283479],[1184716800000,0.0282893],[1184803200000,0.0282942],[1184889600000,0.0283853],[1184976000000,0.0283781],[1185062400000,0.0283781],[1185148800000,0.0283781],[1185235200000,0.0284093],[1185321600000,0.0283935],[1185408000000,0.0281596],[1185494400000,0.0278253],[1185580800000,0.0273659],[1185667200000,0.0273659],[1185753600000,0.0273659],[1185840000000,null],[1185926400000,0.0276384],[1186012800000,0.0273357],[1186099200000,0.0274029],[1186185600000,0.0276012],[1186272000000,0.0276012],[1186358400000,0.0276012],[1186444800000,0.0277658],[1186531200000,0.0277805],[1186617600000,0.0279837],[1186704000000,0.0276607],[1186790400000,0.0272299],[1186876800000,0.0272299],[1186963200000,0.0272299],[1187049600000,0.0273529],[1187136000000,0.0269779],[1187222400000,0.0262837],[1187308800000,0.0260166],[1187395200000,0.0261117],[1187481600000,0.0261117],[1187568000000,0.0261117],[1187654400000,0.0262563],[1187740800000,0.0261974],[1187827200000,0.026324],[1187913600000,0.0266488],[1188000000000,0.0266488],[1188086400000,0.0266488],[1188172800000,0.0266488],[1188259200000,0.0269478],[1188345600000,0.0268057],[1188432000000,0.0267254],[1188518400000,0.0269067],[1188604800000,0.0272578],[1188691200000,0.0272578],[1188777600000,0.0272578],[1188864000000,0.0269999],[1188950400000,0.0268232],[1189036800000,0.0268307],[1189123200000,0.0270075],[1189209600000,0.0271799],[1189296000000,0.0271799],[1189382400000,0.0271799],[1189468800000,0.0271217],[1189555200000,0.0274221],[1189641600000,0.0275312],[1189728000000,0.0276364],[1189814400000,0.0274536],[1189900800000,0.0274536],[1189987200000,0.0274536],[1190073600000,0.0274593],[1190160000000,0.0275171],[1190246400000,0.0279832],[1190332800000,0.0282446],[1190419200000,0.0283858],[1190505600000,0.0283858],[1190592000000,0.0283858],[1190678400000,0.0285014],[1190764800000,0.0284214],[1190851200000,null],[1190937600000,null],[1191024000000,0.0285627],[1191110400000,0.0285627],[1191196800000,0.0285627],[1191283200000,0.0285863],[1191369600000,0.0284653],[1191456000000,0.028435],[1191542400000,0.0282057],[1191628800000,0.0284636],[1191715200000,0.0284636],[1191801600000,0.0284636],[1191888000000,0.0284769],[1191974400000,0.0283343],[1192060800000,0.0286115],[1192147200000,0.0287717],[1192233600000,0.0286066],[1192320000000,0.0286066],[1192406400000,0.0286066],[1192492800000,0.0287262],[1192579200000,0.0284635],[1192665600000,0.0286336],[1192752000000,0.0287368],[1192838400000,0.0287984],[1192924800000,0.0287984],[1193011200000,0.0287984],[1193097600000,0.0282147],[1193184000000,0.0286032],[1193270400000,0.0285936],[1193356800000,0.0288131],[1193443200000,0.0287965],[1193529600000,0.0287965],[1193616000000,0.0287965],[1193702400000,0.0289944],[1193788800000,0.0289804],[1193875200000,0.0290193],[1193961600000,0.0289078],[1194048000000,0.0289775],[1194134400000,0.0289775],[1194220800000,0.0289775],[1194307200000,0.0289279],[1194393600000,0.0291263],[1194480000000,0.0293117],[1194566400000,0.0292347],[1194652800000,0.0292259],[1194739200000,0.0292259],[1194825600000,0.0292259],[1194912000000,0.0289289],[1194998400000,0.0290106],[1195084800000,0.0292471],[1195171200000,0.0290571],[1195257600000,0.0291095],[1195344000000,0.0291095],[1195430400000,0.0291095],[1195516800000,0.0291086],[1195603200000,0.0292801],[1195689600000,0.0291944],[1195776000000,0.0291796],[1195862400000,0.0290643],[1195948800000,0.0290643],[1196035200000,0.0290643],[1196121600000,0.0291815],[1196208000000,0.0290373],[1196294400000,0.029174],[1196380800000,0.0292444],[1196467200000,0.0294637],[1196553600000,0.0294637],[1196640000000,0.0294637],[1196726400000,0.0292555],[1196812800000,0.0293715],[1196899200000,0.0293946],[1196985600000,0.0291553],[1197072000000,0.0293108],[1197158400000,0.0293108],[1197244800000,0.0293108],[1197331200000,0.0295401],[1197417600000,0.0294466],[1197504000000,0.0293663],[1197590400000,0.0293765],[1197676800000,0.0289595],[1197763200000,0.0289595],[1197849600000,0.0289595],[1197936000000,0.0285901],[1198022400000,0.0286843],[1198108800000,0.0286125],[1198195200000,0.0285308],[1198281600000,0.0285857],[1198368000000,0.0285857],[1198454400000,0.0285857],[1198540800000,0.0286305],[1198627200000,0.0286305],[1198713600000,0.0286305],[1198800000000,0.0288583],[1198886400000,0.0292323]], 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, 0.025789],[1168819200000, 0.025789],[1171497600000, 0.026024],[1173916800000, 0.026710],[1176595200000, 0.027707],[1179187200000, 0.027500],[1181865600000, 0.027078],[1184457600000, 0.028031],[1187136000000, 0.026961],[1189814400000, 0.027623],[1192406400000, 0.028619],[1195084800000, 0.029110],[1197676800000, 0.029044]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });