$(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: 'Курс XDR, грн'}, 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: 'Курс XDR', data: [[1168041600000,7.57241],[1168128000000,7.57241],[1168214400000,7.57241],[1168300800000,7.57241],[1168387200000,7.55364],[1168473600000,7.54617],[1168560000000,7.5307],[1168646400000,7.52336],[1168732800000,7.52336],[1168819200000,7.52336],[1168905600000,7.52336],[1168992000000,7.54698],[1169078400000,7.53352],[1169164800000,7.53456],[1169251200000,7.54087],[1169337600000,7.54087],[1169424000000,7.54087],[1169510400000,7.5373],[1169596800000,7.56036],[1169683200000,7.54991],[1169769600000,7.54929],[1169856000000,7.52079],[1169942400000,7.52079],[1170028800000,7.52079],[1170115200000,7.5217],[1170201600000,7.53279],[1170288000000,7.52527],[1170374400000,7.55549],[1170460800000,7.55411],[1170547200000,7.55411],[1170633600000,7.55411],[1170720000000,7.53132],[1170806400000,7.54309],[1170892800000,7.54984],[1170979200000,7.5456],[1171065600000,7.53531],[1171152000000,7.53531],[1171238400000,7.53531],[1171324800000,7.52342],[1171411200000,7.53629],[1171497600000,7.55839],[1171584000000,7.57704],[1171670400000,7.57753],[1171756800000,7.57753],[1171843200000,7.57753],[1171929600000,7.57753],[1172016000000,7.57456],[1172102400000,7.5701],[1172188800000,7.55762],[1172275200000,7.56525],[1172361600000,null],[1172448000000,7.56525],[1172534400000,7.58118],[1172620800000,7.60226],[1172707200000,7.59882],[1172793600000,7.61178],[1172880000000,7.59838],[1172966400000,7.59838],[1173052800000,7.59838],[1173139200000,7.58381],[1173225600000,7.58472],[1173312000000,7.58633],[1173398400000,7.58633],[1173484800000,7.58633],[1173571200000,7.58633],[1173657600000,7.58633],[1173744000000,7.59274],[1173830400000,7.59674],[1173916800000,7.59996],[1174003200000,7.60392],[1174089600000,7.63577],[1174176000000,7.63577],[1174262400000,7.63577],[1174348800000,7.62203],[1174435200000,7.62384],[1174521600000,7.62848],[1174608000000,7.64569],[1174694400000,7.64569],[1174780800000,7.64569],[1174867200000,7.64569],[1174953600000,7.61959],[1175040000000,7.63545],[1175126400000,7.64199],[1175212800000,7.64185],[1175299200000,7.62644],[1175385600000,7.62644],[1175472000000,7.62644],[1175558400000,7.64609],[1175644800000,7.6425],[1175731200000,7.63719],[1175817600000,7.63934],[1175904000000,7.63934],[1175990400000,7.63934],[1176076800000,7.63934],[1176163200000,7.63934],[1176249600000,7.64872],[1176336000000,7.65154],[1176422400000,7.65729],[1176508800000,7.6863],[1176595200000,7.6863],[1176681600000,7.6863],[1176768000000,7.68452],[1176854400000,7.6863],[1176940800000,7.70866],[1177027200000,7.70599],[1177113600000,7.70517],[1177200000000,7.70517],[1177286400000,7.70517],[1177372800000,7.69373],[1177459200000,7.69682],[1177545600000,7.71537],[1177632000000,7.70088],[1177718400000,7.70496],[1177804800000,7.70496],[1177891200000,7.70496],[1177977600000,7.70496],[1178064000000,7.70496],[1178150400000,7.70496],[1178236800000,7.69116],[1178323200000,7.6781],[1178409600000,7.6781],[1178496000000,7.6781],[1178582400000,7.6781],[1178668800000,7.68189],[1178755200000,7.68189],[1178841600000,7.67317],[1178928000000,7.66182],[1179014400000,7.66182],[1179100800000,7.66182],[1179187200000,7.67355],[1179273600000,7.66595],[1179360000000,7.68332],[1179446400000,7.65962],[1179532800000,7.64937],[1179619200000,7.64937],[1179705600000,7.64937],[1179792000000,7.63901],[1179878400000,7.63987],[1179964800000,7.64426],[1180051200000,7.64533],[1180137600000,7.6418],[1180224000000,7.6418],[1180310400000,7.6418],[1180396800000,7.6418],[1180483200000,7.65516],[1180569600000,7.63557],[1180656000000,7.63993],[1180742400000,7.63728],[1180828800000,7.63728],[1180915200000,7.63728],[1181001600000,7.64751],[1181088000000,7.66197],[1181174400000,7.66631],[1181260800000,7.65371],[1181347200000,7.61463],[1181433600000,7.61463],[1181520000000,7.61463],[1181606400000,null],[1181692800000,7.61788],[1181779200000,7.59611],[1181865600000,null],[1181952000000,null],[1182038400000,7.59906],[1182124800000,7.59906],[1182211200000,7.623],[1182297600000,7.62346],[1182384000000,null],[1182470400000,7.6214],[1182556800000,7.63098],[1182643200000,7.63098],[1182729600000,7.63098],[1182816000000,7.64274],[1182902400000,7.64644],[1182988800000,7.64342],[1183075200000,7.64342],[1183161600000,7.64342],[1183248000000,7.64342],[1183334400000,7.64342],[1183420800000,7.67824],[1183507200000,7.6833],[1183593600000,7.6833],[1183680000000,7.69307],[1183766400000,7.67728],[1183852800000,7.67728],[1183939200000,7.67728],[1184025600000,7.68479],[1184112000000,7.68984],[1184198400000,7.72872],[1184284800000,7.73595],[1184371200000,7.72895],[1184457600000,7.72895],[1184544000000,7.72895],[1184630400000,7.74152],[1184716800000,7.73786],[1184803200000,7.74207],[1184889600000,7.74831],[1184976000000,7.74169],[1185062400000,7.74169],[1185148800000,7.74169],[1185235200000,7.75572],[1185321600000,7.76059],[1185408000000,7.74166],[1185494400000,7.73866],[1185580800000,7.72612],[1185667200000,7.72612],[1185753600000,7.72612],[1185840000000,null],[1185926400000,7.73269],[1186012800000,7.72789],[1186099200000,7.7297],[1186185600000,7.73485],[1186272000000,7.73485],[1186358400000,7.73485],[1186444800000,7.76094],[1186531200000,7.75383],[1186617600000,7.74732],[1186704000000,7.74357],[1186790400000,7.72887],[1186876800000,7.72887],[1186963200000,7.72887],[1187049600000,7.7238],[1187136000000,7.70017],[1187222400000,7.68562],[1187308800000,7.6815],[1187395200000,7.69747],[1187481600000,7.69747],[1187568000000,7.69747],[1187654400000,7.69783],[1187740800000,7.70471],[1187827200000,7.69927],[1187913600000,7.7136],[1188000000000,7.7136],[1188086400000,7.7136],[1188172800000,7.7136],[1188259200000,7.7235],[1188345600000,7.74301],[1188432000000,7.73966],[1188518400000,7.73],[1188604800000,7.73977],[1188691200000,7.73977],[1188777600000,7.73977],[1188864000000,7.73977],[1188950400000,7.7267],[1189036800000,7.7257],[1189123200000,7.74933],[1189209600000,7.75349],[1189296000000,7.75349],[1189382400000,7.75349],[1189468800000,7.78988],[1189555200000,7.7984],[1189641600000,7.80816],[1189728000000,7.79948],[1189814400000,7.79154],[1189900800000,7.79154],[1189987200000,7.79154],[1190073600000,7.78446],[1190160000000,7.77736],[1190246400000,7.79495],[1190332800000,7.8167],[1190419200000,7.82448],[1190505600000,7.82448],[1190592000000,7.82448],[1190678400000,7.84729],[1190764800000,7.83874],[1190851200000,null],[1190937600000,null],[1191024000000,7.86109],[1191110400000,7.86109],[1191196800000,7.86109],[1191283200000,7.87157],[1191369600000,7.85351],[1191456000000,7.85811],[1191542400000,7.83524],[1191628800000,7.84437],[1191715200000,7.84437],[1191801600000,7.84437],[1191888000000,7.84437],[1191974400000,7.81459],[1192060800000,7.84437],[1192147200000,7.85331],[1192233600000,7.84412],[1192320000000,7.84412],[1192406400000,7.84412],[1192492800000,7.86058],[1192579200000,7.84386],[1192665600000,7.8481],[1192752000000,7.87808],[1192838400000,7.88774],[1192924800000,7.88774],[1193011200000,7.88774],[1193097600000,7.88774],[1193184000000,7.88774],[1193270400000,7.88354],[1193356800000,7.90208],[1193443200000,7.91443],[1193529600000,7.91443],[1193616000000,7.91443],[1193702400000,7.92529],[1193788800000,7.92269],[1193875200000,7.93802],[1193961600000,7.92947],[1194048000000,7.95296],[1194134400000,7.95296],[1194220800000,7.95296],[1194307200000,7.95059],[1194393600000,7.96491],[1194480000000,8.01009],[1194566400000,8.00865],[1194652800000,8.02516],[1194739200000,8.02516],[1194825600000,8.02516],[1194912000000,7.99952],[1194998400000,8.0006],[1195084800000,8.01174],[1195171200000,7.99149],[1195257600000,7.98458],[1195344000000,7.98458],[1195430400000,7.98458],[1195516800000,8.00238],[1195603200000,8.03352],[1195689600000,8.04769],[1195776000000,8.04769],[1195862400000,8.04769],[1195948800000,8.04769],[1196035200000,8.04769],[1196121600000,8.06462],[1196208000000,8.07057],[1196294400000,8.02984],[1196380800000,8.02822],[1196467200000,8.0304],[1196553600000,8.0304],[1196640000000,8.0304],[1196726400000,8.00726],[1196812800000,8.03072],[1196899200000,8.01202],[1196985600000,7.96531],[1197072000000,7.98425],[1197158400000,7.98425],[1197244800000,7.98425],[1197331200000,7.9944],[1197417600000,7.9941],[1197504000000,8.00022],[1197590400000,7.99655],[1197676800000,7.94055],[1197763200000,7.94055],[1197849600000,7.94055],[1197936000000,7.90761],[1198022400000,7.91013],[1198108800000,7.90655],[1198195200000,7.88299],[1198281600000,7.89222],[1198368000000,7.89222],[1198454400000,7.89222],[1198540800000,7.89222],[1198627200000,7.89222],[1198713600000,7.89222],[1198800000000,7.91473],[1198886400000,7.97132]], 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, 7.540960],[1168819200000, 7.540960],[1171497600000, 7.557051],[1173916800000, 7.613839],[1176595200000, 7.673816],[1179187200000, 7.664446],[1181865600000, 7.631443],[1184457600000, 7.715085],[1187136000000, 7.721387],[1189814400000, 7.787391],[1192406400000, 7.869285],[1195084800000, 8.005360],[1197676800000, 7.955615]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });