$(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: 'Курс EUR, грн'}, 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: 'Курс EUR', data: [[1356998400000,10.5372],[1357084800000,10.5372],[1357171200000,10.5372],[1357257600000,10.4724],[1357344000000,10.4005],[1357430400000,10.4005],[1357516800000,10.4005],[1357603200000,10.4005],[1357689600000,10.4596],[1357776000000,10.4357],[1357862400000,10.4812],[1357948800000,10.6099],[1358035200000,10.6099],[1358121600000,10.6099],[1358208000000,10.6635],[1358294400000,10.6523],[1358380800000,10.6123],[1358467200000,10.685],[1358553600000,10.6499],[1358640000000,10.6499],[1358726400000,10.6499],[1358812800000,10.6491],[1358899200000,10.6443],[1358985600000,10.6547],[1359072000000,10.6699],[1359158400000,10.7658],[1359244800000,10.7658],[1359331200000,10.7658],[1359417600000,10.7458],[1359504000000,10.737],[1359590400000,10.8233]], 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: [[1356998400000, 10.537172],[1356998400000, 10.537172],[1357084800000, 10.537172],[1357171200000, 10.537172],[1357257600000, 10.472429],[1357344000000, 10.400492],[1357430400000, 10.400492],[1357516800000, 10.400492],[1357603200000, 10.400492],[1357689600000, 10.459640],[1357776000000, 10.435661],[1357862400000, 10.481221],[1357948800000, 10.609908],[1358035200000, 10.609908],[1358121600000, 10.609908],[1358208000000, 10.663461],[1358294400000, 10.652271],[1358380800000, 10.612306],[1358467200000, 10.685042],[1358553600000, 10.649873],[1358640000000, 10.649873],[1358726400000, 10.649873],[1358812800000, 10.649074],[1358899200000, 10.644278],[1358985600000, 10.654669],[1359072000000, 10.669856],[1359158400000, 10.765772],[1359244800000, 10.765772],[1359331200000, 10.765772],[1359417600000, 10.745789],[1359504000000, 10.736997],[1359590400000, 10.823321]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });