$(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: [[1326758400000,8.3223],[1326844800000,null],[1326931200000,null],[1327017600000,8.3251],[1327104000000,8.32736],[1327190400000,8.32736],[1327276800000,8.32736],[1327363200000,8.43361],[1327449600000,8.35879],[1327536000000,8.36128],[1327622400000,8.52068],[1327708800000,8.52057],[1327795200000,8.52057],[1327881600000,8.52057],[1327968000000,8.42882]], 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: [[1326758400000, 8.322302],[1326758400000, 8.322302],[1327017600000, 8.325099],[1327104000000, 8.327361],[1327190400000, 8.327361],[1327276800000, 8.327361],[1327363200000, 8.433606],[1327449600000, 8.358787],[1327536000000, 8.361283],[1327622400000, 8.520682],[1327708800000, 8.520575],[1327795200000, 8.520575],[1327881600000, 8.520575],[1327968000000, 8.428822]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });