$(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: 'Курс DKK, грн'}, 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: 'Курс DKK', data: [[1362096000000,1.40746],[1362182400000,1.39359],[1362268800000,1.39359],[1362355200000,1.39359],[1362441600000,1.39447],[1362528000000,1.39733],[1362614400000,1.39746],[1362700800000,1.39496],[1362787200000,1.39496],[1362873600000,1.39496],[1362960000000,1.39496],[1363046400000,1.39282],[1363132800000,1.39899],[1363219200000,1.39141],[1363305600000,1.3866],[1363392000000,1.40245],[1363478400000,1.40245],[1363564800000,1.40245],[1363651200000,1.38626],[1363737600000,1.38772],[1363824000000,1.38826],[1363910400000,1.38452],[1363996800000,1.38867],[1364083200000,1.38867],[1364169600000,1.38867],[1364256000000,1.387],[1364342400000,1.37934],[1364428800000,1.36935],[1364515200000,1.37285],[1364601600000,1.37285],[1364688000000,1.37285]], 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: [[1362096000000, 1.407458],[1362096000000, 1.407458],[1362182400000, 1.393592],[1362268800000, 1.393592],[1362355200000, 1.393592],[1362441600000, 1.394473],[1362528000000, 1.397330],[1362614400000, 1.397456],[1362700800000, 1.394963],[1362787200000, 1.394963],[1362873600000, 1.394963],[1362960000000, 1.394963],[1363046400000, 1.392818],[1363132800000, 1.398992],[1363219200000, 1.391406],[1363305600000, 1.386597],[1363392000000, 1.402454],[1363478400000, 1.402454],[1363564800000, 1.402454],[1363651200000, 1.386260],[1363737600000, 1.387719],[1363824000000, 1.388255],[1363910400000, 1.384520],[1363996800000, 1.388669],[1364083200000, 1.388669],[1364169600000, 1.388669],[1364256000000, 1.386996],[1364342400000, 1.379339],[1364428800000, 1.369346],[1364515200000, 1.372854],[1364601600000, 1.372854],[1364688000000, 1.372854]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });