$(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: 'Курс ISK, грн'}, 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: 'Курс ISK', data: [[1168041600000,0.071711],[1168128000000,0.071711],[1168214400000,0.071711],[1168300800000,0.071711],[1168387200000,0.071048],[1168473600000,0.069333],[1168560000000,0.070278],[1168646400000,0.070926],[1168732800000,0.070926],[1168819200000,0.070926],[1168905600000,0.071823],[1168992000000,0.071552],[1169078400000,0.071986],[1169164800000,0.072035],[1169251200000,0.072612],[1169337600000,0.072612],[1169424000000,0.072612],[1169510400000,0.072489],[1169596800000,0.073726],[1169683200000,0.073421],[1169769600000,0.07354],[1169856000000,0.072397],[1169942400000,0.072397],[1170028800000,0.072397],[1170115200000,0.073209],[1170201600000,0.073921],[1170288000000,0.073852],[1170374400000,0.073861],[1170460800000,0.073869],[1170547200000,0.073869],[1170633600000,0.073869],[1170720000000,0.073695],[1170806400000,0.073966],[1170892800000,0.074342],[1170979200000,0.074247],[1171065600000,0.074473],[1171152000000,0.074473],[1171238400000,0.074473],[1171324800000,0.07403],[1171411200000,0.074273],[1171497600000,0.074911],[1171584000000,0.07503],[1171670400000,0.075149],[1171756800000,0.075149],[1171843200000,0.075149],[1171929600000,0.075808],[1172016000000,0.076118],[1172102400000,0.075848],[1172188800000,0.075944],[1172275200000,0.075845],[1172361600000,null],[1172448000000,0.075845],[1172534400000,0.076928],[1172620800000,0.076513],[1172707200000,0.075839],[1172793600000,0.075653],[1172880000000,0.075196],[1172966400000,0.075196],[1173052800000,0.075196],[1173139200000,0.073378],[1173225600000,0.074432],[1173312000000,0.074732],[1173398400000,0.074732],[1173484800000,0.074732],[1173571200000,0.074732],[1173657600000,0.074732],[1173744000000,0.074935],[1173830400000,0.075187],[1173916800000,0.074769],[1174003200000,0.075021],[1174089600000,0.07506],[1174176000000,0.07506],[1174262400000,0.07506],[1174348800000,0.075449],[1174435200000,0.075528],[1174521600000,0.075291],[1174608000000,0.076201],[1174694400000,0.076081],[1174780800000,0.076081],[1174867200000,0.076081],[1174953600000,0.075942],[1175040000000,0.076351],[1175126400000,0.07633],[1175212800000,0.076414],[1175299200000,0.076697],[1175385600000,0.076697],[1175472000000,0.076697],[1175558400000,0.076468],[1175644800000,0.076086],[1175731200000,0.075821],[1175817600000,0.075457],[1175904000000,0.075457],[1175990400000,0.075457],[1176076800000,0.075457],[1176163200000,0.075457],[1176249600000,0.075469],[1176336000000,0.07605],[1176422400000,0.076638],[1176508800000,0.076999],[1176595200000,0.076999],[1176681600000,0.076999],[1176768000000,0.077319],[1176854400000,0.077366],[1176940800000,0.077526],[1177027200000,0.077689],[1177113600000,0.078151],[1177200000000,0.078151],[1177286400000,0.078151],[1177372800000,0.078172],[1177459200000,0.078316],[1177545600000,0.078919],[1177632000000,0.078325],[1177718400000,0.078587],[1177804800000,0.078587],[1177891200000,0.078587],[1177977600000,0.078587],[1178064000000,0.078587],[1178150400000,0.078587],[1178236800000,0.079319],[1178323200000,0.079153],[1178409600000,0.079153],[1178496000000,0.079153],[1178582400000,0.079606],[1178668800000,0.078853],[1178755200000,0.078853],[1178841600000,0.079376],[1178928000000,0.07887],[1179014400000,0.07887],[1179100800000,0.07887],[1179187200000,0.079349],[1179273600000,0.079552],[1179360000000,0.080258],[1179446400000,0.08015],[1179532800000,0.079732],[1179619200000,0.079732],[1179705600000,0.079732],[1179792000000,0.079658],[1179878400000,0.080961],[1179964800000,0.082216],[1180051200000,0.081215],[1180137600000,0.081319],[1180224000000,0.081319],[1180310400000,0.081319],[1180396800000,0.081319],[1180483200000,0.08174],[1180569600000,0.081387],[1180656000000,0.081912],[1180742400000,0.082245],[1180828800000,0.082245],[1180915200000,0.082245],[1181001600000,0.080812],[1181088000000,0.07987],[1181174400000,0.08073],[1181260800000,0.080368],[1181347200000,0.078496],[1181433600000,0.078496],[1181520000000,0.078496],[1181606400000,null],[1181692800000,0.079547],[1181779200000,0.079417],[1181865600000,null],[1181952000000,null],[1182038400000,0.080435],[1182124800000,0.080435],[1182211200000,0.081154],[1182297600000,0.08106],[1182384000000,null],[1182470400000,0.080513],[1182556800000,0.081009],[1182643200000,0.081009],[1182729600000,0.081009],[1182816000000,0.080581],[1182902400000,0.080365],[1182988800000,0.080177],[1183075200000,0.080177],[1183161600000,0.080177],[1183248000000,0.080177],[1183334400000,0.080177],[1183420800000,0.081612],[1183507200000,0.081323],[1183593600000,0.081453],[1183680000000,0.082228],[1183766400000,0.082474],[1183852800000,0.082474],[1183939200000,0.082474],[1184025600000,0.083125],[1184112000000,0.082939],[1184198400000,0.083277],[1184284800000,0.083659],[1184371200000,0.083935],[1184457600000,0.083935],[1184544000000,0.083935],[1184630400000,0.084203],[1184716800000,0.08399],[1184803200000,0.084539],[1184889600000,0.084873],[1184976000000,0.084903],[1185062400000,0.084903],[1185148800000,0.084903],[1185235200000,0.084725],[1185321600000,0.085525],[1185408000000,0.084431],[1185494400000,0.083701],[1185580800000,0.081718],[1185667200000,0.081718],[1185753600000,0.081718],[1185840000000,null],[1185926400000,0.08276],[1186012800000,0.080662],[1186099200000,0.080489],[1186185600000,0.080741],[1186272000000,0.080741],[1186358400000,0.080741],[1186444800000,0.079215],[1186531200000,0.079949],[1186617600000,0.079775],[1186704000000,0.078138],[1186790400000,0.076093],[1186876800000,0.076093],[1186963200000,0.076093],[1187049600000,0.077025],[1187136000000,0.07685],[1187222400000,0.075015],[1187308800000,0.07283],[1187395200000,0.073159],[1187481600000,0.073159],[1187568000000,0.073159],[1187654400000,0.074645],[1187740800000,0.07556],[1187827200000,0.07716],[1187913600000,0.078449],[1188000000000,0.078449],[1188086400000,0.078449],[1188172800000,0.078449],[1188259200000,0.07888],[1188345600000,0.079132],[1188432000000,0.078652],[1188518400000,0.079265],[1188604800000,0.080328],[1188691200000,0.080328],[1188777600000,0.080328],[1188864000000,0.078883],[1188950400000,0.077578],[1189036800000,0.078092],[1189123200000,0.078069],[1189209600000,0.078579],[1189296000000,0.078579],[1189382400000,0.078579],[1189468800000,0.077517],[1189555200000,0.077689],[1189641600000,0.07853],[1189728000000,0.079085],[1189814400000,0.077987],[1189900800000,0.077987],[1189987200000,0.077987],[1190073600000,0.077598],[1190160000000,0.077697],[1190246400000,0.079826],[1190332800000,0.08033],[1190419200000,0.080558],[1190505600000,0.080558],[1190592000000,0.080558],[1190678400000,0.080971],[1190764800000,0.080821],[1190851200000,null],[1190937600000,null],[1191024000000,0.081489],[1191110400000,0.081489],[1191196800000,0.081489],[1191283200000,0.08158],[1191369600000,0.081734],[1191456000000,0.082141],[1191542400000,0.082152],[1191628800000,0.082767],[1191715200000,0.082767],[1191801600000,0.082767],[1191888000000,0.082954],[1191974400000,0.08323],[1192060800000,0.083435],[1192147200000,0.08423],[1192233600000,0.08382],[1192320000000,0.08382],[1192406400000,0.08382],[1192492800000,0.084182],[1192579200000,0.082849],[1192665600000,0.084088],[1192752000000,0.084417],[1192838400000,0.084431],[1192924800000,0.084431],[1193011200000,0.084431],[1193097600000,0.081665],[1193184000000,0.083507],[1193270400000,0.082914],[1193356800000,0.083365],[1193443200000,0.083638],[1193529600000,0.083638],[1193616000000,0.083638],[1193702400000,0.083755],[1193788800000,0.083897],[1193875200000,0.084227],[1193961600000,0.08574],[1194048000000,0.08578],[1194134400000,0.08578],[1194220800000,0.08578],[1194307200000,0.085253],[1194393600000,0.086062],[1194480000000,0.086049],[1194566400000,0.08513],[1194652800000,0.083965],[1194739200000,0.083965],[1194825600000,0.083965],[1194912000000,0.082966],[1194998400000,0.083615],[1195084800000,0.084502],[1195171200000,0.08359],[1195257600000,0.083085],[1195344000000,0.083085],[1195430400000,0.083085],[1195516800000,0.082694],[1195603200000,0.080319],[1195689600000,0.081254],[1195776000000,0.080075],[1195862400000,0.080466],[1195948800000,0.080466],[1196035200000,0.080466],[1196121600000,0.08081],[1196208000000,0.080044],[1196294400000,0.081045],[1196380800000,0.082067],[1196467200000,0.082807],[1196553600000,0.082807],[1196640000000,0.082807],[1196726400000,0.082192],[1196812800000,0.08158],[1196899200000,0.081411],[1196985600000,0.081411],[1197072000000,0.082051],[1197158400000,0.082051],[1197244800000,0.082051],[1197331200000,0.082365],[1197417600000,0.082445],[1197504000000,0.0826],[1197590400000,0.082756],[1197676800000,0.080739],[1197763200000,0.080739],[1197849600000,0.080739],[1197936000000,0.080102],[1198022400000,0.080274],[1198108800000,0.079645],[1198195200000,0.079038],[1198281600000,0.079166],[1198368000000,0.079166],[1198454400000,0.079166],[1198540800000,0.079647],[1198627200000,0.079647],[1198713600000,0.079647],[1198800000000,0.079897],[1198886400000,0.081256]], 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.072039],[1168819200000, 0.072039],[1171497600000, 0.074871],[1173916800000, 0.075358],[1176595200000, 0.077068],[1179187200000, 0.079897],[1181865600000, 0.080499],[1184457600000, 0.083168],[1187136000000, 0.077735],[1189814400000, 0.079215],[1192406400000, 0.083276],[1195084800000, 0.083178],[1197676800000, 0.081041]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });