$(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: [[1141171200000,3.73614],[1141257600000,3.76193],[1141344000000,3.76869],[1141430400000,3.76487],[1141516800000,3.76487],[1141603200000,3.76487],[1141689600000,3.75322],[1141776000000,3.71821],[1141862400000,3.71821],[1141948800000,3.71718],[1142035200000,3.7116],[1142121600000,3.7116],[1142208000000,3.7116],[1142294400000,3.69726],[1142380800000,3.70145],[1142467200000,3.73111],[1142553600000,3.71886],[1142640000000,3.69154],[1142726400000,3.69154],[1142812800000,3.69154],[1142899200000,3.63328],[1142985600000,3.62818],[1143072000000,3.61519],[1143158400000,3.62735],[1143244800000,3.57781],[1143331200000,3.57781],[1143417600000,3.57781],[1143504000000,3.57234],[1143590400000,3.59135],[1143676800000,3.55572],[1143763200000,3.60127]], 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: [[1141171200000, 3.736138],[1141171200000, 3.736138],[1141257600000, 3.761931],[1141344000000, 3.768690],[1141430400000, 3.764870],[1141516800000, 3.764870],[1141603200000, 3.764870],[1141689600000, 3.753222],[1141776000000, 3.718211],[1141862400000, 3.718211],[1141948800000, 3.717179],[1142035200000, 3.711596],[1142121600000, 3.711596],[1142208000000, 3.711596],[1142294400000, 3.697255],[1142380800000, 3.701454],[1142467200000, 3.731111],[1142553600000, 3.718863],[1142640000000, 3.691538],[1142726400000, 3.691538],[1142812800000, 3.691538],[1142899200000, 3.633278],[1142985600000, 3.628184],[1143072000000, 3.615188],[1143158400000, 3.627346],[1143244800000, 3.577806],[1143331200000, 3.577806],[1143417600000, 3.577806],[1143504000000, 3.572342],[1143590400000, 3.591349],[1143676800000, 3.555721],[1143763200000, 3.601273]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });