$(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: 'Курс AUD, грн'}, 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: 'Курс AUD', data: [[1356998400000,8.30222],[1357084800000,8.30222],[1357171200000,8.30222],[1357257600000,8.39743],[1357344000000,8.32439],[1357430400000,8.32439],[1357516800000,8.32439],[1357603200000,8.32439],[1357689600000,8.39053],[1357776000000,8.40298],[1357862400000,8.45055],[1357948800000,8.44671],[1358035200000,8.44671],[1358121600000,8.44671],[1358208000000,8.44163],[1358294400000,8.41877],[1358380800000,8.42715],[1358467200000,8.4174],[1358553600000,8.40293],[1358640000000,8.40293],[1358726400000,8.40293],[1358812800000,8.40827],[1358899200000,8.43913],[1358985600000,8.43266],[1359072000000,8.37706],[1359158400000,8.33458],[1359244800000,8.33458],[1359331200000,8.33458],[1359417600000,8.31074],[1359504000000,8.34914],[1359590400000,8.32819]], 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, 8.302215],[1356998400000, 8.302215],[1357084800000, 8.302215],[1357171200000, 8.302215],[1357257600000, 8.397425],[1357344000000, 8.324389],[1357430400000, 8.324389],[1357516800000, 8.324389],[1357603200000, 8.324389],[1357689600000, 8.390534],[1357776000000, 8.402980],[1357862400000, 8.450553],[1357948800000, 8.446707],[1358035200000, 8.446707],[1358121600000, 8.446707],[1358208000000, 8.441625],[1358294400000, 8.418771],[1358380800000, 8.427147],[1358467200000, 8.417396],[1358553600000, 8.402930],[1358640000000, 8.402930],[1358726400000, 8.402930],[1358812800000, 8.408270],[1358899200000, 8.439133],[1358985600000, 8.432662],[1359072000000, 8.377056],[1359158400000, 8.334576],[1359244800000, 8.334576],[1359331200000, 8.334576],[1359417600000, 8.310742],[1359504000000, 8.349142],[1359590400000, 8.328194]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });