$(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: [[1338508800000,1.33386],[1338595200000,1.32536],[1338681600000,1.32536],[1338768000000,1.32536],[1338854400000,1.32536],[1338940800000,1.33674],[1339027200000,1.3426],[1339113600000,1.35421],[1339200000000,1.34085],[1339286400000,1.34085],[1339372800000,1.34085],[1339459200000,1.34884],[1339545600000,1.34334],[1339632000000,1.33674],[1339718400000,1.3499],[1339804800000,1.35472],[1339891200000,1.35472],[1339977600000,1.35472],[1340064000000,1.35689],[1340150400000,1.35683],[1340236800000,1.36595],[1340323200000,1.36237],[1340409600000,1.34805],[1340496000000,1.34805],[1340582400000,1.34805],[1340668800000,1.34271],[1340755200000,1.34133],[1340841600000,1.3416],[1340928000000,1.3416],[1341014400000,1.3416]], 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: [[1338508800000, 1.333858],[1338508800000, 1.333858],[1338595200000, 1.325361],[1338681600000, 1.325361],[1338768000000, 1.325361],[1338854400000, 1.325361],[1338940800000, 1.336744],[1339027200000, 1.342604],[1339113600000, 1.354215],[1339200000000, 1.340848],[1339286400000, 1.340848],[1339372800000, 1.340848],[1339459200000, 1.348840],[1339545600000, 1.343339],[1339632000000, 1.336744],[1339718400000, 1.349901],[1339804800000, 1.354723],[1339891200000, 1.354723],[1339977600000, 1.354723],[1340064000000, 1.356888],[1340150400000, 1.356832],[1340236800000, 1.365953],[1340323200000, 1.362370],[1340409600000, 1.348048],[1340496000000, 1.348048],[1340582400000, 1.348048],[1340668800000, 1.342710],[1340755200000, 1.341330],[1340841600000, 1.341599],[1340928000000, 1.341599],[1341014400000, 1.341599]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });