$(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: [[1120262400000,0.00107393],[1120348800000,0.00107393],[1120435200000,0.00107393],[1120521600000,0.00107462],[1120608000000,0.00107416],[1120694400000,0.00107416],[1120780800000,0.00107416],[1120867200000,0.00107462],[1120953600000,0.00107462],[1121040000000,0.00107462],[1121126400000,0.00107485],[1121212800000,0.0010753],[1121299200000,0.00107576],[1121385600000,0.0010753],[1121472000000,0.0010753],[1121558400000,0.0010753],[1121644800000,0.0010753],[1121731200000,0.00107485],[1121817600000,0.00107553],[1121904000000,0.00107401],[1121990400000,0.00107401],[1122076800000,0.00107447],[1122163200000,0.00107447],[1122249600000,0.00107447],[1122336000000,0.00107493],[1122422400000,0.00107493],[1122508800000,0.00107584],[1122595200000,0.00107653],[1122681600000,0.00107768],[1122768000000,0.00107768]], 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: [[1120262400000, 0.001074],[1120262400000, 0.001074],[1120348800000, 0.001074],[1120435200000, 0.001074],[1120521600000, 0.001075],[1120608000000, 0.001074],[1120694400000, 0.001074],[1120780800000, 0.001074],[1120867200000, 0.001075],[1120953600000, 0.001075],[1121040000000, 0.001075],[1121126400000, 0.001075],[1121212800000, 0.001075],[1121299200000, 0.001076],[1121385600000, 0.001075],[1121472000000, 0.001075],[1121558400000, 0.001075],[1121644800000, 0.001075],[1121731200000, 0.001075],[1121817600000, 0.001076],[1121904000000, 0.001074],[1121990400000, 0.001074],[1122076800000, 0.001074],[1122163200000, 0.001074],[1122249600000, 0.001074],[1122336000000, 0.001075],[1122422400000, 0.001075],[1122508800000, 0.001076],[1122595200000, 0.001077],[1122681600000, 0.001078],[1122768000000, 0.001078]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });