$(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: 'Курс EUR, грн'}, 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: 'Курс EUR', data: [[1159660800000,6.3933],[1159747200000,6.3933],[1159833600000,6.40592],[1159920000000,6.43218],[1160006400000,6.40542],[1160092800000,6.4241],[1160179200000,6.39532],[1160265600000,6.39532],[1160352000000,6.39532],[1160438400000,6.36451],[1160524800000,6.33169],[1160611200000,6.33422],[1160697600000,6.32815],[1160784000000,6.33775],[1160870400000,6.33775],[1160956800000,6.33775],[1161043200000,6.32008],[1161129600000,6.32462],[1161216000000,6.33422],[1161302400000,6.3433],[1161388800000,6.37209],[1161475200000,6.37209],[1161561600000,6.37209],[1161648000000,6.34078],[1161734400000,6.33321],[1161820800000,6.3529],[1161907200000,6.38976],[1161993600000,6.40491],[1162080000000,6.40491],[1162166400000,6.40491],[1162252800000,6.42209]], 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, 6.393300],[1159660800000, 6.393300],[1159747200000, 6.393300],[1159833600000, 6.405925],[1159920000000, 6.432185],[1160006400000, 6.405420],[1160092800000, 6.424105],[1160179200000, 6.395320],[1160265600000, 6.395320],[1160352000000, 6.395320],[1160438400000, 6.364515],[1160524800000, 6.331690],[1160611200000, 6.334215],[1160697600000, 6.328155],[1160784000000, 6.337750],[1160870400000, 6.337750],[1160956800000, 6.337750],[1161043200000, 6.320075],[1161129600000, 6.324620],[1161216000000, 6.334215],[1161302400000, 6.343305],[1161388800000, 6.372090],[1161475200000, 6.372090],[1161561600000, 6.372090],[1161648000000, 6.340780],[1161734400000, 6.333205],[1161820800000, 6.352900],[1161907200000, 6.389765],[1161993600000, 6.404915],[1162080000000, 6.404915],[1162166400000, 6.404915],[1162252800000, 6.422085]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });