$(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: 'Курс LVL, грн'}, 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: 'Курс LVL', data: [[1168041600000,9.46757],[1168128000000,9.46757],[1168214400000,9.46757],[1168300800000,9.46757],[1168387200000,9.41982],[1168473600000,9.39676],[1168560000000,9.39521],[1168646400000,9.33204],[1168732800000,9.33204],[1168819200000,9.33204],[1168905600000,9.36813],[1168992000000,9.37816],[1169078400000,9.3463],[1169164800000,9.35571],[1169251200000,9.38043],[1169337600000,9.38043],[1169424000000,9.38043],[1169510400000,9.36451],[1169596800000,9.44115],[1169683200000,9.41716],[1169769600000,9.39626],[1169856000000,9.34721],[1169942400000,9.34721],[1170028800000,9.34721],[1170115200000,9.36842],[1170201600000,9.4054],[1170288000000,9.39504],[1170374400000,9.44156],[1170460800000,9.44291],[1170547200000,9.44291],[1170633600000,9.44291],[1170720000000,9.37132],[1170806400000,9.39442],[1170892800000,9.41763],[1170979200000,9.41917],[1171065600000,9.43078],[1171152000000,9.43078],[1171238400000,9.43078],[1171324800000,9.3938],[1171411200000,9.44165],[1171497600000,9.48243],[1171584000000,9.51957],[1171670400000,9.50652],[1171756800000,9.50652],[1171843200000,9.50652],[1171929600000,9.41061],[1172016000000,9.38398],[1172102400000,9.37602],[1172188800000,9.37867],[1172275200000,9.39206],[1172361600000,null],[1172448000000,9.39206],[1172534400000,9.41598],[1172620800000,9.48488],[1172707200000,9.44846],[1172793600000,9.4491],[1172880000000,9.38886],[1172966400000,9.38886],[1173052800000,9.38886],[1173139200000,9.35426],[1173225600000,9.34657],[1173312000000,9.35964],[1173398400000,9.35964],[1173484800000,9.35964],[1173571200000,9.35964],[1173657600000,9.35964],[1173744000000,9.38652],[1173830400000,9.42676],[1173916800000,9.39915],[1174003200000,9.41253],[1174089600000,9.48031],[1174176000000,9.48031],[1174262400000,9.48031],[1174348800000,9.46866],[1174435200000,9.46368],[1174521600000,9.46154],[1174608000000,9.50417],[1174694400000,9.48441],[1174780800000,9.48441],[1174867200000,9.48441],[1174953600000,9.44028],[1175040000000,9.4973],[1175126400000,9.49801],[1175212800000,9.5022],[1175299200000,9.47667],[1175385600000,9.47667],[1175472000000,9.47667],[1175558400000,9.53097],[1175644800000,9.52257],[1175731200000,9.51964],[1175817600000,9.54539],[1175904000000,9.54539],[1175990400000,9.54539],[1176076800000,9.54539],[1176163200000,9.54539],[1176249600000,9.60631],[1176336000000,9.60466],[1176422400000,9.63428],[1176508800000,9.68215],[1176595200000,9.68215],[1176681600000,9.68215],[1176768000000,9.73226],[1176854400000,9.72877],[1176940800000,9.73918],[1177027200000,9.75363],[1177113600000,9.77526],[1177200000000,9.77526],[1177286400000,9.77526],[1177372800000,9.7581],[1177459200000,9.80545],[1177545600000,9.84678],[1177632000000,9.83806],[1177718400000,9.87065],[1177804800000,9.87065],[1177891200000,9.87065],[1177977600000,9.87065],[1178064000000,9.87065],[1178150400000,9.87065],[1178236800000,9.86449],[1178323200000,9.82963],[1178409600000,9.82963],[1178496000000,9.82963],[1178582400000,9.87019],[1178668800000,9.82746],[1178755200000,9.82746],[1178841600000,9.80499],[1178928000000,9.77948],[1179014400000,9.77948],[1179100800000,9.77948],[1179187200000,9.82658],[1179273600000,9.82001],[1179360000000,9.84329],[1179446400000,9.80264],[1179532800000,9.77576],[1179619200000,9.77576],[1179705600000,9.77576],[1179792000000,9.75182],[1179878400000,9.75908],[1179964800000,9.78379],[1180051200000,9.75473],[1180137600000,9.75105],[1180224000000,9.75105],[1180310400000,9.75105],[1180396800000,9.75105],[1180483200000,9.79897],[1180569600000,9.73302],[1180656000000,9.75835],[1180742400000,9.74742],[1180828800000,9.74742],[1180915200000,9.74742],[1181001600000,9.77939],[1181088000000,9.81143],[1181174400000,9.79906],[1181260800000,9.76788],[1181347200000,9.67596],[1181433600000,9.67596],[1181520000000,9.67596],[1181606400000,null],[1181692800000,9.68419],[1181779200000,9.63656],[1181865600000,null],[1181952000000,null],[1182038400000,9.65614],[1182124800000,9.65614],[1182211200000,9.72141],[1182297600000,9.72208],[1182384000000,null],[1182470400000,9.71773],[1182556800000,9.74965],[1182643200000,9.74965],[1182729600000,9.74965],[1182816000000,9.76416],[1182902400000,9.76343],[1182988800000,9.74747],[1183075200000,9.74747],[1183161600000,9.74747],[1183248000000,9.74747],[1183334400000,9.74747],[1183420800000,9.85062],[1183507200000,9.86571],[1183593600000,9.87804],[1183680000000,9.89258],[1183766400000,9.83665],[1183852800000,9.83665],[1183939200000,9.83665],[1184025600000,9.85897],[1184112000000,9.89864],[1184198400000,9.97023],[1184284800000,9.98844],[1184371200000,9.98696],[1184457600000,9.98696],[1184544000000,9.98696],[1184630400000,9.97907],[1184716800000,9.97326],[1184803200000,9.98478],[1184889600000,10.0145],[1184976000000,9.98927],[1185062400000,9.98927],[1185148800000,9.98927],[1185235200000,10.0138],[1185321600000,10.021],[1185408000000,9.96298],[1185494400000,9.94348],[1185580800000,9.89345],[1185667200000,9.89345],[1185753600000,9.89345],[1185840000000,null],[1185926400000,9.93546],[1186012800000,9.90357],[1186099200000,9.90287],[1186185600000,9.92319],[1186272000000,9.92319],[1186358400000,9.92319],[1186444800000,10.0145],[1186531200000,10.0014],[1186617600000,10.0028],[1186704000000,9.93714],[1186790400000,9.87289],[1186876800000,9.87289],[1186963200000,9.87289],[1187049600000,9.82997],[1187136000000,9.81756],[1187222400000,9.75682],[1187308800000,9.71516],[1187395200000,9.74089],[1187481600000,9.74089],[1187568000000,9.74089],[1187654400000,9.75402],[1187740800000,9.79403],[1187827200000,9.77754],[1187913600000,9.82495],[1188000000000,9.82495],[1188086400000,9.82495],[1188172800000,9.82495],[1188259200000,9.86596],[1188345600000,9.83933],[1188432000000,9.85632],[1188518400000,9.85525],[1188604800000,9.91551],[1188691200000,9.91551],[1188777600000,9.91551],[1188864000000,9.86128],[1188950400000,9.83776],[1189036800000,9.82101],[1189123200000,9.8739],[1189209600000,9.90332],[1189296000000,9.90332],[1189382400000,9.90332],[1189468800000,9.97348],[1189555200000,9.96733],[1189641600000,10.007],[1189728000000,9.99713],[1189814400000,9.97051],[1189900800000,9.97051],[1189987200000,9.97051],[1190073600000,9.98416],[1190160000000,9.97413],[1190246400000,10.0261],[1190332800000,10.0158],[1190419200000,10.0506],[1190505600000,10.0506],[1190592000000,10.0506],[1190678400000,10.1179],[1190764800000,10.0928],[1190851200000,null],[1190937600000,null],[1191024000000,10.1739],[1191110400000,10.1739],[1191196800000,10.1739],[1191283200000,10.209],[1191369600000,10.1668],[1191456000000,10.1941],[1191542400000,10.1251],[1191628800000,10.1359],[1191715200000,10.1359],[1191801600000,10.1359],[1191888000000,10.0936],[1191974400000,10.0563],[1192060800000,10.1531],[1192147200000,10.1839],[1192233600000,10.1826],[1192320000000,10.1826],[1192406400000,10.1826],[1192492800000,10.2178],[1192579200000,10.1647],[1192665600000,10.202],[1192752000000,10.2863],[1192838400000,10.2828],[1192924800000,10.2828],[1193011200000,10.2828],[1193097600000,10.1994],[1193184000000,10.2569],[1193270400000,10.2323],[1193356800000,10.2803],[1193443200000,10.346],[1193529600000,10.346],[1193616000000,10.346],[1193702400000,10.3496],[1193788800000,10.3552],[1193875200000,10.3898],[1193961600000,10.3681],[1194048000000,10.4099],[1194134400000,10.4099],[1194220800000,10.4099],[1194307200000,10.4119],[1194393600000,10.4588],[1194480000000,10.5891],[1194566400000,10.5548],[1194652800000,10.5656],[1194739200000,10.5656],[1194825600000,10.5656],[1194912000000,10.4818],[1194998400000,10.5034],[1195084800000,10.5808],[1195171200000,10.5595],[1195257600000,10.5802],[1195344000000,10.5802],[1195430400000,10.5802],[1195516800000,10.5824],[1195603200000,10.6785],[1195689600000,10.7102],[1195776000000,10.7103],[1195862400000,10.7035],[1195948800000,10.7035],[1196035200000,10.7035],[1196121600000,10.7265],[1196208000000,10.7536],[1196294400000,10.6633],[1196380800000,10.6507],[1196467200000,10.6414],[1196553600000,10.6414],[1196640000000,10.6414],[1196726400000,10.5699],[1196812800000,10.6285],[1196899200000,10.6346],[1196985600000,10.5162],[1197072000000,10.6015],[1197158400000,10.6015],[1197244800000,10.6015],[1197331200000,10.6499],[1197417600000,10.6212],[1197504000000,10.628],[1197590400000,10.6399],[1197676800000,10.5168],[1197763200000,10.5168],[1197849600000,10.5168],[1197936000000,10.4342],[1198022400000,10.4539],[1198108800000,10.4284],[1198195200000,10.3978],[1198281600000,10.4218],[1198368000000,10.4218],[1198454400000,10.4218],[1198540800000,10.4348],[1198627200000,10.4348],[1198713600000,10.4348],[1198800000000,10.5219],[1198886400000,10.6448]], 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.388551],[1168819200000, 9.388551],[1171497600000, 9.431536],[1173916800000, 9.432090],[1176595200000, 9.676171],[1179187200000, 9.801267],[1181865600000, 9.730749],[1184457600000, 9.923668],[1187136000000, 9.853883],[1189814400000, 9.979200],[1192406400000, 10.217481],[1195084800000, 10.571700],[1197676800000, 10.538559]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });