$(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: 'Курс CZK, грн'}, 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: 'Курс CZK', data: [[1254355200000,0.465755],[1254441600000,0.458076],[1254528000000,0.457458],[1254614400000,0.457458],[1254700800000,0.457458],[1254787200000,0.4598],[1254873600000,0.461738],[1254960000000,0.458329],[1255046400000,0.458998],[1255132800000,0.456768],[1255219200000,0.456768],[1255305600000,0.456768],[1255392000000,0.458029],[1255478400000,0.459068],[1255564800000,0.460063],[1255651200000,0.458468],[1255737600000,0.459842],[1255824000000,0.459842],[1255910400000,0.459842],[1255996800000,0.461107],[1256083200000,0.464533],[1256169600000,0.460851],[1256256000000,0.463306],[1256342400000,0.463661],[1256428800000,0.463661],[1256515200000,0.463661],[1256601600000,0.463927],[1256688000000,0.456621],[1256774400000,0.449051],[1256860800000,0.446514],[1256947200000,0.44711]], 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: [[1254355200000, 0.465755],[1254355200000, 0.465755],[1254441600000, 0.458076],[1254528000000, 0.457458],[1254614400000, 0.457458],[1254700800000, 0.457458],[1254787200000, 0.459800],[1254873600000, 0.461738],[1254960000000, 0.458329],[1255046400000, 0.458998],[1255132800000, 0.456768],[1255219200000, 0.456768],[1255305600000, 0.456768],[1255392000000, 0.458029],[1255478400000, 0.459068],[1255564800000, 0.460063],[1255651200000, 0.458468],[1255737600000, 0.459842],[1255824000000, 0.459842],[1255910400000, 0.459842],[1255996800000, 0.461107],[1256083200000, 0.464533],[1256169600000, 0.460851],[1256256000000, 0.463306],[1256342400000, 0.463661],[1256428800000, 0.463661],[1256515200000, 0.463661],[1256601600000, 0.463927],[1256688000000, 0.456621],[1256774400000, 0.449051],[1256860800000, 0.446514],[1256947200000, 0.447110]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });