$(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: [[1136246400000,7.21779],[1136332800000,7.21779],[1136419200000,7.21779],[1136505600000,7.2926],[1136592000000,7.29595],[1136678400000,7.29595],[1136764800000,7.29595],[1136851200000,7.29595],[1136937600000,7.31441],[1137024000000,7.30673],[1137110400000,7.32825],[1137196800000,7.30434],[1137283200000,7.30434],[1137369600000,7.30434],[1137456000000,7.30434],[1137542400000,7.2999],[1137628800000,7.31255],[1137715200000,7.29921],[1137801600000,7.29988],[1137888000000,7.29988],[1137974400000,7.29988],[1138060800000,7.35979],[1138147200000,7.35565],[1138233600000,7.36741],[1138320000000,7.34455],[1138406400000,7.31741],[1138492800000,7.31741],[1138579200000,7.31741],[1138665600000,7.29024],[1138752000000,null],[1138838400000,null],[1138924800000,null],[1139011200000,null],[1139097600000,null],[1139184000000,7.25237],[1139270400000,7.25237],[1139356800000,7.25714],[1139443200000,7.24973],[1139529600000,7.25339],[1139616000000,7.25901],[1139702400000,7.25901],[1139788800000,7.25901],[1139875200000,7.23282],[1139961600000,7.23282],[1140048000000,7.24006],[1140134400000,7.2271],[1140220800000,7.22399],[1140307200000,7.22399],[1140393600000,7.22399],[1140480000000,7.22399],[1140566400000,7.23394],[1140652800000,7.22662],[1140739200000,7.25979],[1140825600000,7.24971],[1140912000000,7.24971],[1140998400000,7.24971],[1141084800000,7.23932],[1141171200000,7.24689],[1141257600000,7.26346],[1141344000000,7.25926],[1141430400000,7.27878],[1141516800000,7.27878],[1141603200000,7.27878],[1141689600000,7.27691],[1141776000000,7.23561],[1141862400000,7.23561],[1141948800000,7.24614],[1142035200000,7.24614],[1142121600000,7.24614],[1142208000000,7.24614],[1142294400000,7.22947],[1142380800000,7.24229],[1142467200000,7.26842],[1142553600000,7.27719],[1142640000000,7.31359],[1142726400000,7.31359],[1142812800000,7.31359],[1142899200000,7.31025],[1142985600000,7.2994],[1143072000000,7.2826],[1143158400000,7.27504],[1143244800000,7.24481],[1143331200000,7.24481],[1143417600000,7.24481],[1143504000000,7.27386],[1143590400000,7.28064],[1143676800000,7.26106],[1143763200000,7.27514],[1143849600000,7.27627],[1143936000000,7.27627],[1144022400000,7.27627],[1144108800000,7.26189],[1144195200000,7.29525],[1144281600000,7.31897],[1144368000000,7.3322],[1144454400000,7.30057],[1144540800000,7.30057],[1144627200000,7.30057],[1144713600000,7.27996],[1144800000000,7.27626],[1144886400000,7.29261],[1144972800000,7.27916],[1145059200000,7.27916],[1145145600000,7.27916],[1145232000000,7.27916],[1145318400000,7.27951],[1145404800000,7.32576],[1145491200000,7.35536],[1145577600000,7.34541],[1145664000000,7.34535],[1145750400000,7.34535],[1145836800000,7.34535],[1145923200000,7.34535],[1146009600000,7.3812],[1146096000000,7.38002],[1146182400000,7.38946],[1146268800000,7.42886],[1146355200000,7.42886],[1146441600000,7.42886],[1146528000000,7.42886],[1146614400000,7.42886],[1146700800000,7.46489],[1146787200000,7.45445],[1146873600000,7.47682],[1146960000000,7.47682],[1147046400000,7.47682],[1147132800000,7.47682],[1147219200000,7.47682],[1147305600000,7.52986],[1147392000000,7.5101],[1147478400000,7.58009],[1147564800000,7.58009],[1147651200000,7.58009],[1147737600000,7.5421],[1147824000000,7.54495],[1147910400000,7.57662],[1147996800000,7.53413],[1148083200000,7.52106],[1148169600000,7.52106],[1148256000000,7.52106],[1148342400000,7.51813],[1148428800000,7.54346],[1148515200000,7.54709],[1148601600000,7.51609],[1148688000000,7.52804],[1148774400000,7.52804],[1148860800000,7.52804],[1148947200000,7.52804],[1149033600000,7.54277],[1149120000000,7.54561],[1149206400000,7.50545],[1149292800000,7.51902],[1149379200000,7.51902],[1149465600000,7.51902],[1149552000000,7.56533],[1149638400000,7.53666],[1149724800000,7.51366],[1149811200000,7.4936],[1149897600000,7.467],[1149984000000,7.467],[1150070400000,7.467],[1150156800000,7.467],[1150243200000,7.44717],[1150329600000,7.44243],[1150416000000,7.45506],[1150502400000,7.46567],[1150588800000,7.46567],[1150675200000,7.46567],[1150761600000,7.44202],[1150848000000,7.4386],[1150934400000,7.45415],[1151020800000,7.43888],[1151107200000,7.41894],[1151193600000,7.41894],[1151280000000,7.41894],[1151366400000,7.4245],[1151452800000,7.42242],[1151539200000,7.42242],[1151625600000,7.4096],[1151712000000,7.47081],[1151798400000,7.47081],[1151884800000,7.47081],[1151971200000,7.47081],[1152057600000,7.47081],[1152144000000,7.48698],[1152230400000,7.47117],[1152316800000,7.48596],[1152403200000,7.48596],[1152489600000,7.48596],[1152576000000,7.49322],[1152662400000,7.47983],[1152748800000,7.47671],[1152835200000,7.46217],[1152921600000,7.45605],[1153008000000,7.45605],[1153094400000,7.45605],[1153180800000,7.40991],[1153267200000,7.41558],[1153353600000,7.40277],[1153440000000,7.44497],[1153526400000,7.46471],[1153612800000,7.46471],[1153699200000,7.46471],[1153785600000,7.44601],[1153872000000,7.45054],[1153958400000,7.43382],[1154044800000,7.48494],[1154131200000,7.4654],[1154217600000,7.4654],[1154304000000,7.4654],[1154390400000,7.49352],[1154476800000,7.49608],[1154563200000,7.50745],[1154649600000,7.4947],[1154736000000,7.50598],[1154822400000,7.50598],[1154908800000,7.50598],[1154995200000,7.53606],[1155081600000,7.52896],[1155168000000,7.54192],[1155254400000,7.52929],[1155340800000,7.50097],[1155427200000,7.50097],[1155513600000,7.50097],[1155600000000,7.4851],[1155686400000,7.48351],[1155772800000,7.49868],[1155859200000,7.52693],[1155945600000,7.50794],[1156032000000,7.50794],[1156118400000,7.50794],[1156204800000,7.52838],[1156291200000,7.51247],[1156377600000,7.50677],[1156464000000,7.50677],[1156550400000,7.50677],[1156636800000,7.50677],[1156723200000,7.50677],[1156809600000,7.48985],[1156896000000,7.50533],[1156982400000,7.50637],[1157068800000,7.51705],[1157155200000,7.50497],[1157241600000,7.50497],[1157328000000,7.50497],[1157414400000,7.50497],[1157500800000,7.51745],[1157587200000,7.5034],[1157673600000,7.49249],[1157760000000,7.4735],[1157846400000,7.4735],[1157932800000,7.4735],[1158019200000,7.46744],[1158105600000,7.46894],[1158192000000,7.46274],[1158278400000,7.47376],[1158364800000,7.46619],[1158451200000,7.46619],[1158537600000,7.46619],[1158624000000,7.45384],[1158710400000,7.46057],[1158796800000,7.46586],[1158883200000,7.49083],[1158969600000,7.51338],[1159056000000,7.51338],[1159142400000,7.51338],[1159228800000,7.49867],[1159315200000,7.48235],[1159401600000,7.47501],[1159488000000,7.47228],[1159574400000,7.45569],[1159660800000,7.45569],[1159747200000,7.45569],[1159833600000,7.46035],[1159920000000,7.48112],[1160006400000,7.45979],[1160092800000,7.47337],[1160179200000,7.45924],[1160265600000,7.45924],[1160352000000,7.45924],[1160438400000,7.45924],[1160524800000,7.41749],[1160611200000,7.41476],[1160697600000,7.41078],[1160784000000,7.41631],[1160870400000,7.41631],[1160956800000,7.41631],[1161043200000,7.40971],[1161129600000,7.41965],[1161216000000,7.42317],[1161302400000,7.42792],[1161388800000,7.44568],[1161475200000,7.44568],[1161561600000,7.44568],[1161648000000,7.42356],[1161734400000,7.41756],[1161820800000,7.43415],[1161907200000,7.45166],[1161993600000,7.46333],[1162080000000,7.46333],[1162166400000,7.46333],[1162252800000,7.4848],[1162339200000,7.4742],[1162425600000,7.50068],[1162512000000,7.50035],[1162598400000,7.50085],[1162684800000,7.50085],[1162771200000,7.50085],[1162857600000,7.4716],[1162944000000,7.48925],[1163030400000,7.50092],[1163116800000,7.49481],[1163203200000,7.52351],[1163289600000,7.52351],[1163376000000,7.52351],[1163462400000,7.50644],[1163548800000,7.50104],[1163635200000,7.48587],[1163721600000,7.49226],[1163808000000,7.48054],[1163894400000,7.48054],[1163980800000,7.48054],[1164067200000,7.5002],[1164153600000,7.49713],[1164240000000,7.52036],[1164326400000,7.52036],[1164412800000,7.52036],[1164499200000,7.52036],[1164585600000,7.52036],[1164672000000,7.5913],[1164758400000,7.59697],[1164844800000,7.60522],[1164931200000,7.61402],[1165017600000,7.62981],[1165104000000,7.62981],[1165190400000,7.62981],[1165276800000,7.65396],[1165363200000,7.66056],[1165449600000,7.6474],[1165536000000,7.64854],[1165622400000,7.63811],[1165708800000,7.63811],[1165795200000,7.63811],[1165881600000,7.60576],[1165968000000,7.6211],[1166054400000,7.63202],[1166140800000,7.60739],[1166227200000,7.58448],[1166313600000,7.58448],[1166400000000,7.58448],[1166486400000,7.57996],[1166572800000,7.60056],[1166659200000,7.61408],[1166745600000,7.60151],[1166832000000,7.60421],[1166918400000,7.60421],[1167004800000,7.60421],[1167091200000,7.60421],[1167177600000,7.60421],[1167264000000,7.59428],[1167350400000,7.59094],[1167436800000,7.59723]], 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: [[1137283200000, 7.302678],[1137283200000, 7.302678],[1139961600000, 7.242591],[1142380800000, 7.267393],[1145059200000, 7.320005],[1147651200000, 7.513256],[1150329600000, 7.467882],[1152921600000, 7.462227],[1155600000000, 7.507843],[1158278400000, 7.484584],[1160870400000, 7.443035],[1163548800000, 7.510825],[1166140800000, 7.614919]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });