$(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: 'Курс GBP, грн'}, 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: 'Курс GBP', data: [[1146441600000,9.12012],[1146528000000,9.12012],[1146614400000,9.12012],[1146700800000,9.27953],[1146787200000,9.29673],[1146873600000,9.32941],[1146960000000,9.32941],[1147046400000,9.32941],[1147132800000,9.32941],[1147219200000,9.32941],[1147305600000,9.40591],[1147392000000,9.41029],[1147478400000,9.57927],[1147564800000,9.57927],[1147651200000,9.57927],[1147737600000,9.50841],[1147824000000,9.50314],[1147910400000,9.57664],[1147996800000,9.51789],[1148083200000,9.47998],[1148169600000,9.47998],[1148256000000,9.47998],[1148342400000,9.4668],[1148428800000,9.50697],[1148515200000,9.50393],[1148601600000,9.42879],[1148688000000,9.43428],[1148774400000,9.43428],[1148860800000,9.43428],[1148947200000,9.39867],[1149033600000,9.4694]], 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: [[1146441600000, 9.120117],[1146441600000, 9.120117],[1146528000000, 9.120117],[1146614400000, 9.120117],[1146700800000, 9.279531],[1146787200000, 9.296725],[1146873600000, 9.329412],[1146960000000, 9.329412],[1147046400000, 9.329412],[1147132800000, 9.329412],[1147219200000, 9.329412],[1147305600000, 9.405910],[1147392000000, 9.410287],[1147478400000, 9.579274],[1147564800000, 9.579274],[1147651200000, 9.579274],[1147737600000, 9.508412],[1147824000000, 9.503135],[1147910400000, 9.576638],[1147996800000, 9.517895],[1148083200000, 9.479981],[1148169600000, 9.479981],[1148256000000, 9.479981],[1148342400000, 9.466801],[1148428800000, 9.506971],[1148515200000, 9.503925],[1148601600000, 9.428786],[1148688000000, 9.434285],[1148774400000, 9.434285],[1148860800000, 9.434285],[1148947200000, 9.398673],[1149033600000, 9.469395]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });