$(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: 'Курс USD, грн'}, 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: 'Курс USD', data: [[1136246400000,5.05],[1136332800000,5.05],[1136419200000,5.05],[1136505600000,5.05],[1136592000000,5.05],[1136678400000,5.05],[1136764800000,5.05],[1136851200000,5.05],[1136937600000,5.05],[1137024000000,5.05],[1137110400000,5.05],[1137196800000,5.05],[1137283200000,5.05],[1137369600000,5.05],[1137456000000,5.05],[1137542400000,5.05],[1137628800000,5.05],[1137715200000,5.05],[1137801600000,5.05],[1137888000000,5.05],[1137974400000,5.05],[1138060800000,5.05],[1138147200000,5.05],[1138233600000,5.05],[1138320000000,5.05],[1138406400000,5.05],[1138492800000,5.05],[1138579200000,5.05],[1138665600000,5.05],[1138752000000,null],[1138838400000,null],[1138924800000,null],[1139011200000,null],[1139097600000,null],[1139184000000,5.05],[1139270400000,5.05],[1139356800000,5.05],[1139443200000,5.05],[1139529600000,5.05],[1139616000000,5.05],[1139702400000,5.05],[1139788800000,5.05],[1139875200000,5.05],[1139961600000,5.05],[1140048000000,5.05],[1140134400000,5.05],[1140220800000,5.05],[1140307200000,5.05],[1140393600000,5.05],[1140480000000,5.05],[1140566400000,5.05],[1140652800000,5.05],[1140739200000,5.05],[1140825600000,5.05],[1140912000000,5.05],[1140998400000,5.05],[1141084800000,5.05],[1141171200000,5.05],[1141257600000,5.05],[1141344000000,5.05],[1141430400000,5.05],[1141516800000,5.05],[1141603200000,5.05],[1141689600000,5.05],[1141776000000,5.05],[1141862400000,5.05],[1141948800000,5.05],[1142035200000,5.05],[1142121600000,5.05],[1142208000000,5.05],[1142294400000,5.05],[1142380800000,5.05],[1142467200000,5.05],[1142553600000,5.05],[1142640000000,5.05],[1142726400000,5.05],[1142812800000,5.05],[1142899200000,5.05],[1142985600000,5.05],[1143072000000,5.05],[1143158400000,5.05],[1143244800000,5.05],[1143331200000,5.05],[1143417600000,5.05],[1143504000000,5.05],[1143590400000,5.05],[1143676800000,5.05],[1143763200000,5.05],[1143849600000,5.05],[1143936000000,5.05],[1144022400000,5.05],[1144108800000,5.05],[1144195200000,5.05],[1144281600000,5.05],[1144368000000,5.05],[1144454400000,5.05],[1144540800000,5.05],[1144627200000,5.05],[1144713600000,5.05],[1144800000000,5.05],[1144886400000,5.05],[1144972800000,5.05],[1145059200000,5.05],[1145145600000,5.05],[1145232000000,5.05],[1145318400000,5.05],[1145404800000,5.05],[1145491200000,5.05],[1145577600000,5.05],[1145664000000,5.05],[1145750400000,5.05],[1145836800000,5.05],[1145923200000,5.05],[1146009600000,5.05],[1146096000000,5.05],[1146182400000,5.05],[1146268800000,5.05],[1146355200000,5.05],[1146441600000,5.05],[1146528000000,5.05],[1146614400000,5.05],[1146700800000,5.05],[1146787200000,5.05],[1146873600000,5.05],[1146960000000,5.05],[1147046400000,5.05],[1147132800000,5.05],[1147219200000,5.05],[1147305600000,5.05],[1147392000000,5.05],[1147478400000,5.05],[1147564800000,5.05],[1147651200000,5.05],[1147737600000,5.05],[1147824000000,5.05],[1147910400000,5.05],[1147996800000,5.05],[1148083200000,5.05],[1148169600000,5.05],[1148256000000,5.05],[1148342400000,5.05],[1148428800000,5.05],[1148515200000,5.05],[1148601600000,5.05],[1148688000000,5.05],[1148774400000,5.05],[1148860800000,5.05],[1148947200000,5.05],[1149033600000,5.05],[1149120000000,5.05],[1149206400000,5.05],[1149292800000,5.05],[1149379200000,5.05],[1149465600000,5.05],[1149552000000,5.05],[1149638400000,5.05],[1149724800000,5.05],[1149811200000,5.05],[1149897600000,5.05],[1149984000000,5.05],[1150070400000,5.05],[1150156800000,5.05],[1150243200000,5.05],[1150329600000,5.05],[1150416000000,5.05],[1150502400000,5.05],[1150588800000,5.05],[1150675200000,5.05],[1150761600000,5.05],[1150848000000,5.05],[1150934400000,5.05],[1151020800000,5.05],[1151107200000,5.05],[1151193600000,5.05],[1151280000000,5.05],[1151366400000,5.05],[1151452800000,5.05],[1151539200000,5.05],[1151625600000,5.05],[1151712000000,5.05],[1151798400000,5.05],[1151884800000,5.05],[1151971200000,5.05],[1152057600000,5.05],[1152144000000,5.05],[1152230400000,5.05],[1152316800000,5.05],[1152403200000,5.05],[1152489600000,5.05],[1152576000000,5.05],[1152662400000,5.05],[1152748800000,5.05],[1152835200000,5.05],[1152921600000,5.05],[1153008000000,5.05],[1153094400000,5.05],[1153180800000,5.05],[1153267200000,5.05],[1153353600000,5.05],[1153440000000,5.05],[1153526400000,5.05],[1153612800000,5.05],[1153699200000,5.05],[1153785600000,5.05],[1153872000000,5.05],[1153958400000,5.05],[1154044800000,5.05],[1154131200000,5.05],[1154217600000,5.05],[1154304000000,5.05],[1154390400000,5.05],[1154476800000,5.05],[1154563200000,5.05],[1154649600000,5.05],[1154736000000,5.05],[1154822400000,5.05],[1154908800000,5.05],[1154995200000,5.05],[1155081600000,5.05],[1155168000000,5.05],[1155254400000,5.05],[1155340800000,5.05],[1155427200000,5.05],[1155513600000,5.05],[1155600000000,5.05],[1155686400000,5.05],[1155772800000,5.05],[1155859200000,5.05],[1155945600000,5.05],[1156032000000,5.05],[1156118400000,5.05],[1156204800000,5.05],[1156291200000,5.05],[1156377600000,5.05],[1156464000000,5.05],[1156550400000,5.05],[1156636800000,5.05],[1156723200000,5.05],[1156809600000,5.05],[1156896000000,5.05],[1156982400000,5.05],[1157068800000,5.05],[1157155200000,5.05],[1157241600000,5.05],[1157328000000,5.05],[1157414400000,5.05],[1157500800000,5.05],[1157587200000,5.05],[1157673600000,5.05],[1157760000000,5.05],[1157846400000,5.05],[1157932800000,5.05],[1158019200000,5.05],[1158105600000,5.05],[1158192000000,5.05],[1158278400000,5.05],[1158364800000,5.05],[1158451200000,5.05],[1158537600000,5.05],[1158624000000,5.05],[1158710400000,5.05],[1158796800000,5.05],[1158883200000,5.05],[1158969600000,5.05],[1159056000000,5.05],[1159142400000,5.05],[1159228800000,5.05],[1159315200000,5.05],[1159401600000,5.05],[1159488000000,5.05],[1159574400000,5.05],[1159660800000,5.05],[1159747200000,5.05],[1159833600000,5.05],[1159920000000,5.05],[1160006400000,5.05],[1160092800000,5.05],[1160179200000,5.05],[1160265600000,5.05],[1160352000000,5.05],[1160438400000,5.05],[1160524800000,5.05],[1160611200000,5.05],[1160697600000,5.05],[1160784000000,5.05],[1160870400000,5.05],[1160956800000,5.05],[1161043200000,5.05],[1161129600000,5.05],[1161216000000,5.05],[1161302400000,5.05],[1161388800000,5.05],[1161475200000,5.05],[1161561600000,5.05],[1161648000000,5.05],[1161734400000,5.05],[1161820800000,5.05],[1161907200000,5.05],[1161993600000,5.05],[1162080000000,5.05],[1162166400000,5.05],[1162252800000,5.05],[1162339200000,5.05],[1162425600000,5.05],[1162512000000,5.05],[1162598400000,5.05],[1162684800000,5.05],[1162771200000,5.05],[1162857600000,5.05],[1162944000000,5.05],[1163030400000,5.05],[1163116800000,5.05],[1163203200000,5.05],[1163289600000,5.05],[1163376000000,5.05],[1163462400000,5.05],[1163548800000,5.05],[1163635200000,5.05],[1163721600000,5.05],[1163808000000,5.05],[1163894400000,5.05],[1163980800000,5.05],[1164067200000,5.05],[1164153600000,5.05],[1164240000000,5.05],[1164326400000,5.05],[1164412800000,5.05],[1164499200000,5.05],[1164585600000,5.05],[1164672000000,5.05],[1164758400000,5.05],[1164844800000,5.05],[1164931200000,5.05],[1165017600000,5.05],[1165104000000,5.05],[1165190400000,5.05],[1165276800000,5.05],[1165363200000,5.05],[1165449600000,5.05],[1165536000000,5.05],[1165622400000,5.05],[1165708800000,5.05],[1165795200000,5.05],[1165881600000,5.05],[1165968000000,5.05],[1166054400000,5.05],[1166140800000,5.05],[1166227200000,5.05],[1166313600000,5.05],[1166400000000,5.05],[1166486400000,5.05],[1166572800000,5.05],[1166659200000,5.05],[1166745600000,5.05],[1166832000000,5.05],[1166918400000,5.05],[1167004800000,5.05],[1167091200000,5.05],[1167177600000,5.05],[1167264000000,5.05],[1167350400000,5.05],[1167436800000,5.05]], 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, 5.050000],[1137283200000, 5.050000],[1139961600000, 5.050000],[1142380800000, 5.050000],[1145059200000, 5.050000],[1147651200000, 5.050000],[1150329600000, 5.050000],[1152921600000, 5.050000],[1155600000000, 5.050000],[1158278400000, 5.050000],[1160870400000, 5.050000],[1163548800000, 5.050000],[1166140800000, 5.050000]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });