$(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: 'Курс AZN, грн'}, 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: 'Курс AZN', data: [[1168041600000,5.79527],[1168128000000,5.79527],[1168214400000,5.79527],[1168300800000,5.79527],[1168387200000,5.79527],[1168473600000,5.79527],[1168560000000,5.79527],[1168646400000,5.79527],[1168732800000,5.79527],[1168819200000,5.79527],[1168905600000,5.79527],[1168992000000,5.79527],[1169078400000,5.79527],[1169164800000,5.79594],[1169251200000,5.7966],[1169337600000,5.7966],[1169424000000,5.7966],[1169510400000,5.7966],[1169596800000,5.7966],[1169683200000,5.7966],[1169769600000,5.79727],[1169856000000,5.79727],[1169942400000,5.79727],[1170028800000,5.79727],[1170115200000,5.79793],[1170201600000,5.7986],[1170288000000,5.79993],[1170374400000,5.80126],[1170460800000,5.80126],[1170547200000,5.80126],[1170633600000,5.80126],[1170720000000,5.8026],[1170806400000,5.80326],[1170892800000,5.80393],[1170979200000,5.80527],[1171065600000,5.80527],[1171152000000,5.80527],[1171238400000,5.80527],[1171324800000,5.80527],[1171411200000,5.80593],[1171497600000,5.8066],[1171584000000,5.8066],[1171670400000,5.80727],[1171756800000,5.80727],[1171843200000,5.80727],[1171929600000,5.8086],[1172016000000,5.8086],[1172102400000,5.8086],[1172188800000,5.80994],[1172275200000,5.80994],[1172361600000,null],[1172448000000,5.80994],[1172534400000,5.81061],[1172620800000,5.81128],[1172707200000,5.81262],[1172793600000,5.81262],[1172880000000,5.81395],[1172966400000,5.81395],[1173052800000,5.81395],[1173139200000,5.81462],[1173225600000,5.81462],[1173312000000,5.81663],[1173398400000,5.81663],[1173484800000,5.81663],[1173571200000,5.81663],[1173657600000,5.81663],[1173744000000,5.81864],[1173830400000,5.81864],[1173916800000,5.81998],[1174003200000,5.82066],[1174089600000,5.82066],[1174176000000,5.82066],[1174262400000,5.82066],[1174348800000,5.82066],[1174435200000,5.82066],[1174521600000,5.82066],[1174608000000,5.82066],[1174694400000,5.82066],[1174780800000,5.82066],[1174867200000,5.82066],[1174953600000,5.82066],[1175040000000,5.82133],[1175126400000,5.82133],[1175212800000,5.822],[1175299200000,5.82334],[1175385600000,5.82334],[1175472000000,5.82334],[1175558400000,5.82536],[1175644800000,5.8267],[1175731200000,5.82737],[1175817600000,5.82939],[1175904000000,5.83006],[1175990400000,5.83006],[1176076800000,5.83006],[1176163200000,5.83006],[1176249600000,5.83276],[1176336000000,5.83343],[1176422400000,5.83343],[1176508800000,5.83478],[1176595200000,5.83478],[1176681600000,5.83478],[1176768000000,5.83545],[1176854400000,5.83545],[1176940800000,5.83613],[1177027200000,5.8368],[1177113600000,5.8368],[1177200000000,5.8368],[1177286400000,5.8368],[1177372800000,5.8368],[1177459200000,5.8368],[1177545600000,5.8368],[1177632000000,5.83748],[1177718400000,5.83815],[1177804800000,5.83815],[1177891200000,5.83815],[1177977600000,5.83815],[1178064000000,5.83815],[1178150400000,5.83815],[1178236800000,5.84356],[1178323200000,5.84491],[1178409600000,5.84491],[1178496000000,5.84491],[1178582400000,5.84694],[1178668800000,5.84897],[1178755200000,5.84897],[1178841600000,5.84965],[1178928000000,5.85032],[1179014400000,5.85032],[1179100800000,5.85032],[1179187200000,5.85236],[1179273600000,5.85507],[1179360000000,5.85643],[1179446400000,5.85915],[1179532800000,5.86187],[1179619200000,5.86187],[1179705600000,5.86187],[1179792000000,5.86391],[1179878400000,5.86459],[1179964800000,5.86868],[1180051200000,5.87141],[1180137600000,5.87414],[1180224000000,5.87414],[1180310400000,5.87414],[1180396800000,5.87414],[1180483200000,5.87688],[1180569600000,5.87961],[1180656000000,5.88304],[1180742400000,5.88578],[1180828800000,5.88578],[1180915200000,5.88578],[1181001600000,5.88921],[1181088000000,5.89196],[1181174400000,5.89402],[1181260800000,5.8954],[1181347200000,5.8954],[1181433600000,5.8954],[1181520000000,5.8954],[1181606400000,null],[1181692800000,5.89609],[1181779200000,5.89678],[1181865600000,null],[1181952000000,null],[1182038400000,5.89678],[1182124800000,5.89678],[1182211200000,5.89747],[1182297600000,5.89747],[1182384000000,null],[1182470400000,5.89816],[1182556800000,5.89884],[1182643200000,5.89884],[1182729600000,5.89884],[1182816000000,5.89953],[1182902400000,5.89953],[1182988800000,5.90022],[1183075200000,5.90022],[1183161600000,5.90022],[1183248000000,5.90022],[1183334400000,5.90022],[1183420800000,5.9016],[1183507200000,5.90298],[1183593600000,5.90367],[1183680000000,5.90436],[1183766400000,5.90436],[1183852800000,5.90436],[1183939200000,5.90436],[1184025600000,5.90505],[1184112000000,5.90574],[1184198400000,5.90643],[1184284800000,5.90712],[1184371200000,5.90712],[1184457600000,5.90712],[1184544000000,5.90712],[1184630400000,5.90782],[1184716800000,5.90851],[1184803200000,5.90851],[1184889600000,5.90989],[1184976000000,5.90989],[1185062400000,5.90989],[1185148800000,5.90989],[1185235200000,5.91058],[1185321600000,5.91196],[1185408000000,5.91196],[1185494400000,5.91266],[1185580800000,5.91266],[1185667200000,5.91266],[1185753600000,5.91266],[1185840000000,null],[1185926400000,5.91335],[1186012800000,5.91404],[1186099200000,5.91404],[1186185600000,5.91404],[1186272000000,5.91404],[1186358400000,5.91404],[1186444800000,5.91473],[1186531200000,5.91473],[1186617600000,5.91404],[1186704000000,5.91473],[1186790400000,5.91473],[1186876800000,5.91473],[1186963200000,5.91473],[1187049600000,5.91473],[1187136000000,5.91612],[1187222400000,5.91612],[1187308800000,5.91681],[1187395200000,5.91681],[1187481600000,5.91681],[1187568000000,5.91681],[1187654400000,5.91751],[1187740800000,5.91889],[1187827200000,5.91959],[1187913600000,5.92028],[1188000000000,5.92028],[1188086400000,5.92028],[1188172800000,5.92028],[1188259200000,5.92028],[1188345600000,5.92167],[1188432000000,5.92306],[1188518400000,5.92306],[1188604800000,5.92306],[1188691200000,5.92306],[1188777600000,5.92306],[1188864000000,5.92375],[1188950400000,5.92445],[1189036800000,5.92514],[1189123200000,5.92514],[1189209600000,5.92584],[1189296000000,5.92584],[1189382400000,5.92584],[1189468800000,5.92653],[1189555200000,5.92723],[1189641600000,5.92723],[1189728000000,5.92793],[1189814400000,5.92793],[1189900800000,5.92793],[1189987200000,5.92793],[1190073600000,5.92793],[1190160000000,5.92862],[1190246400000,5.92932],[1190332800000,5.93071],[1190419200000,5.93071],[1190505600000,5.93071],[1190592000000,5.93071],[1190678400000,5.93071],[1190764800000,5.93071],[1190851200000,null],[1190937600000,null],[1191024000000,5.9328],[1191110400000,5.9328],[1191196800000,5.9328],[1191283200000,5.93419],[1191369600000,5.93489],[1191456000000,5.93559],[1191542400000,5.93629],[1191628800000,5.93629],[1191715200000,5.93629],[1191801600000,5.93629],[1191888000000,5.93699],[1191974400000,5.93699],[1192060800000,5.93768],[1192147200000,5.93838],[1192233600000,5.93838],[1192320000000,5.93838],[1192406400000,5.93838],[1192492800000,5.93838],[1192579200000,5.93908],[1192665600000,5.93908],[1192752000000,5.94048],[1192838400000,5.94118],[1192924800000,5.94118],[1193011200000,5.94118],[1193097600000,5.94188],[1193184000000,5.94188],[1193270400000,5.94257],[1193356800000,5.94327],[1193443200000,5.94327],[1193529600000,5.94327],[1193616000000,5.94327],[1193702400000,5.94467],[1193788800000,5.94607],[1193875200000,5.94677],[1193961600000,5.94747],[1194048000000,5.94888],[1194134400000,5.94888],[1194220800000,5.94888],[1194307200000,5.94958],[1194393600000,5.94958],[1194480000000,5.95028],[1194566400000,5.95168],[1194652800000,5.95238],[1194739200000,5.95238],[1194825600000,5.95238],[1194912000000,5.95308],[1194998400000,5.95308],[1195084800000,5.95449],[1195171200000,5.95519],[1195257600000,5.95589],[1195344000000,5.95589],[1195430400000,5.95589],[1195516800000,5.95659],[1195603200000,5.9573],[1195689600000,5.9573],[1195776000000,5.9573],[1195862400000,5.9573],[1195948800000,5.9573],[1196035200000,5.9573],[1196121600000,5.9587],[1196208000000,5.95941],[1196294400000,5.96011],[1196380800000,5.96081],[1196467200000,5.96152],[1196553600000,5.96152],[1196640000000,5.96152],[1196726400000,5.96222],[1196812800000,5.96292],[1196899200000,5.96433],[1196985600000,5.96574],[1197072000000,5.96574],[1197158400000,5.96574],[1197244800000,5.96574],[1197331200000,5.96645],[1197417600000,5.96715],[1197504000000,5.96715],[1197590400000,5.96786],[1197676800000,5.96856],[1197763200000,5.96856],[1197849600000,5.96856],[1197936000000,5.96927],[1198022400000,5.96997],[1198108800000,5.97068],[1198195200000,5.97068],[1198281600000,5.97068],[1198368000000,5.97068],[1198454400000,5.97068],[1198540800000,5.97138],[1198627200000,5.97209],[1198713600000,5.9728],[1198800000000,5.9728],[1198886400000,5.9735]], 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, 5.796142],[1168819200000, 5.796142],[1171497600000, 5.805910],[1173916800000, 5.818471],[1176595200000, 5.833208],[1179187200000, 5.857048],[1181865600000, 5.895113],[1184457600000, 5.907379],[1187136000000, 5.916949],[1189814400000, 5.927629],[1192406400000, 5.939307],[1195084800000, 5.954068],[1197676800000, 5.967810]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });