$(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: 'Курс LVL, грн'}, 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: 'Курс LVL', data: [[1356998400000,15.1006],[1357084800000,15.1006],[1357171200000,15.1006],[1357257600000,15.0099],[1357344000000,14.9154],[1357430400000,14.9154],[1357516800000,14.9154],[1357603200000,14.9154],[1357689600000,15.0088],[1357776000000,14.9766],[1357862400000,15.0463],[1357948800000,15.2113],[1358035200000,15.2113],[1358121600000,15.2113],[1358208000000,15.2925],[1358294400000,15.2786],[1358380800000,15.2126],[1358467200000,15.3147],[1358553600000,15.2686],[1358640000000,15.2686],[1358726400000,15.2686],[1358812800000,15.2653],[1358899200000,15.2541],[1358985600000,15.2668],[1359072000000,15.2754],[1359158400000,15.4083],[1359244800000,15.4083],[1359331200000,15.4083],[1359417600000,15.3797],[1359504000000,15.3583],[1359590400000,15.4818]], 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, 15.100562],[1356998400000, 15.100562],[1357084800000, 15.100562],[1357171200000, 15.100562],[1357257600000, 15.009931],[1357344000000, 14.915376],[1357430400000, 14.915376],[1357516800000, 14.915376],[1357603200000, 14.915376],[1357689600000, 15.008810],[1357776000000, 14.976551],[1357862400000, 15.046255],[1357948800000, 15.211338],[1358035200000, 15.211338],[1358121600000, 15.211338],[1358208000000, 15.292502],[1358294400000, 15.278645],[1358380800000, 15.212595],[1358467200000, 15.314666],[1358553600000, 15.268635],[1358640000000, 15.268635],[1358726400000, 15.268635],[1358812800000, 15.265301],[1358899200000, 15.254053],[1358985600000, 15.266756],[1359072000000, 15.275384],[1359158400000, 15.408289],[1359244800000, 15.408289],[1359331200000, 15.408289],[1359417600000, 15.379690],[1359504000000, 15.358313],[1359590400000, 15.481793]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });