$(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: [[1159660800000,9.18578],[1159747200000,9.18578],[1159833600000,9.20392],[1159920000000,9.24032],[1160006400000,9.20187],[1160092800000,9.22871],[1160179200000,9.18736],[1160265600000,9.18736],[1160352000000,9.18736],[1160438400000,9.1431],[1160524800000,9.09595],[1160611200000,9.10088],[1160697600000,9.09087],[1160784000000,9.10596],[1160870400000,9.10596],[1160956800000,9.10596],[1161043200000,9.08057],[1161129600000,9.0871],[1161216000000,9.09958],[1161302400000,9.11263],[1161388800000,9.1553],[1161475200000,9.1553],[1161561600000,9.1553],[1161648000000,9.11032],[1161734400000,9.09943],[1161820800000,9.12642],[1161907200000,9.17938],[1161993600000,9.20114],[1162080000000,9.20114],[1162166400000,9.20114],[1162252800000,9.22448]], 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: [[1159660800000, 9.185776],[1159660800000, 9.185776],[1159747200000, 9.185776],[1159833600000, 9.203915],[1159920000000, 9.240317],[1160006400000, 9.201868],[1160092800000, 9.228710],[1160179200000, 9.187358],[1160265600000, 9.187358],[1160352000000, 9.187358],[1160438400000, 9.143104],[1160524800000, 9.095949],[1160611200000, 9.100884],[1160697600000, 9.090871],[1160784000000, 9.105963],[1160870400000, 9.105963],[1160956800000, 9.105963],[1161043200000, 9.080568],[1161129600000, 9.087098],[1161216000000, 9.099576],[1161302400000, 9.112635],[1161388800000, 9.155302],[1161475200000, 9.155302],[1161561600000, 9.155302],[1161648000000, 9.110316],[1161734400000, 9.099432],[1161820800000, 9.126419],[1161907200000, 9.179378],[1161993600000, 9.201142],[1162080000000, 9.201142],[1162166400000, 9.201142],[1162252800000, 9.224483]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });