$(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: [[1333238400000,8.3115],[1333324800000,8.3115],[1333411200000,8.28525],[1333497600000,8.27825],[1333584000000,8.21095],[1333670400000,8.21248],[1333756800000,8.21248],[1333843200000,null],[1333929600000,8.21248],[1334016000000,8.20991],[1334102400000,8.21876],[1334188800000,8.22813],[1334275200000,8.30579],[1334361600000,8.30592],[1334448000000,8.30592],[1334534400000,8.30592],[1334620800000,8.30592],[1334707200000,8.28009],[1334793600000,8.27903],[1334880000000,8.25963],[1334966400000,8.27032],[1335052800000,8.27032],[1335139200000,8.27032],[1335225600000,8.21415],[1335312000000,8.22905],[1335398400000,8.25977],[1335484800000,8.28812],[1335571200000,8.33649],[1335657600000,8.33649],[1335744000000,8.33649]], 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: [[1333238400000, 8.311498],[1333238400000, 8.311498],[1333324800000, 8.311498],[1333411200000, 8.285246],[1333497600000, 8.278245],[1333584000000, 8.210949],[1333670400000, 8.212482],[1333756800000, 8.212482],[1333929600000, 8.212482],[1334016000000, 8.209912],[1334102400000, 8.218765],[1334188800000, 8.228128],[1334275200000, 8.305789],[1334361600000, 8.305916],[1334448000000, 8.305916],[1334534400000, 8.305916],[1334620800000, 8.305916],[1334707200000, 8.280087],[1334793600000, 8.279031],[1334880000000, 8.259632],[1334966400000, 8.270321],[1335052800000, 8.270321],[1335139200000, 8.270321],[1335225600000, 8.214151],[1335312000000, 8.229050],[1335398400000, 8.259773],[1335484800000, 8.288117],[1335571200000, 8.336492],[1335657600000, 8.336492],[1335744000000, 8.336492]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });