$(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: [[1141171200000,5.53122],[1141257600000,5.53243],[1141344000000,5.53182],[1141430400000,5.53485],[1141516800000,5.53485],[1141603200000,5.53485],[1141689600000,5.53485],[1141776000000,5.53728],[1141862400000,5.53728],[1141948800000,5.53971],[1142035200000,5.53971],[1142121600000,5.53971],[1142208000000,5.53971],[1142294400000,5.54214],[1142380800000,5.54336],[1142467200000,5.54458],[1142553600000,5.54458],[1142640000000,5.54701],[1142726400000,5.54701],[1142812800000,5.54701],[1142899200000,5.54701],[1142985600000,5.54701],[1143072000000,5.54701],[1143158400000,5.54945],[1143244800000,5.54945],[1143331200000,5.54945],[1143417600000,5.54945],[1143504000000,5.55128],[1143590400000,5.55128],[1143676800000,5.55189],[1143763200000,5.55372]], 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: [[1141171200000, 5.531216],[1141171200000, 5.531216],[1141257600000, 5.532428],[1141344000000, 5.531822],[1141430400000, 5.534853],[1141516800000, 5.534853],[1141603200000, 5.534853],[1141689600000, 5.534853],[1141776000000, 5.537281],[1141862400000, 5.537281],[1141948800000, 5.539710],[1142035200000, 5.539710],[1142121600000, 5.539710],[1142208000000, 5.539710],[1142294400000, 5.542142],[1142380800000, 5.543359],[1142467200000, 5.544576],[1142553600000, 5.544576],[1142640000000, 5.547012],[1142726400000, 5.547012],[1142812800000, 5.547012],[1142899200000, 5.547012],[1142985600000, 5.547012],[1143072000000, 5.547012],[1143158400000, 5.549451],[1143244800000, 5.549451],[1143331200000, 5.549451],[1143417600000, 5.549451],[1143504000000, 5.551281],[1143590400000, 5.551281],[1143676800000, 5.551891],[1143763200000, 5.553723]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });