$(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: 'Курс EEK, грн'}, 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: 'Курс EEK', data: [[1246406400000,0.690187],[1246492800000,0.688241],[1246579200000,0.685848],[1246665600000,0.683833],[1246752000000,0.683833],[1246838400000,0.683833],[1246924800000,0.678365],[1247011200000,0.683631],[1247097600000,0.677388],[1247184000000,0.681537],[1247270400000,0.677379],[1247356800000,0.677379],[1247443200000,0.677379],[1247529600000,0.680985],[1247616000000,0.681943],[1247702400000,0.687143],[1247788800000,0.689992],[1247875200000,0.689029],[1247961600000,0.689029],[1248048000000,0.689029],[1248134400000,0.696212],[1248220800000,0.696342],[1248307200000,0.695029],[1248393600000,0.696872],[1248480000000,0.697056],[1248566400000,0.697056],[1248652800000,0.697056],[1248739200000,0.70143],[1248825600000,0.699337],[1248912000000,0.694086],[1248998400000,0.691396]], 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: [[1246406400000, 0.690187],[1246406400000, 0.690187],[1246492800000, 0.688241],[1246579200000, 0.685848],[1246665600000, 0.683833],[1246752000000, 0.683833],[1246838400000, 0.683833],[1246924800000, 0.678365],[1247011200000, 0.683631],[1247097600000, 0.677388],[1247184000000, 0.681537],[1247270400000, 0.677379],[1247356800000, 0.677379],[1247443200000, 0.677379],[1247529600000, 0.680985],[1247616000000, 0.681943],[1247702400000, 0.687143],[1247788800000, 0.689992],[1247875200000, 0.689029],[1247961600000, 0.689029],[1248048000000, 0.689029],[1248134400000, 0.696212],[1248220800000, 0.696342],[1248307200000, 0.695029],[1248393600000, 0.696872],[1248480000000, 0.697056],[1248566400000, 0.697056],[1248652800000, 0.697056],[1248739200000, 0.701430],[1248825600000, 0.699337],[1248912000000, 0.694086],[1248998400000, 0.691396]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });