$(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: [[1318032000000,7.80309],[1318118400000,7.80309],[1318204800000,7.80309],[1318291200000,7.922],[1318377600000,7.92784],[1318464000000,8.06569],[1318550400000,8.08824],[1318636800000,8.17706],[1318723200000,8.17706],[1318809600000,8.17706],[1318896000000,8.19583],[1318982400000,8.08627],[1319068800000,8.22922],[1319155200000,8.18801],[1319241600000,8.21198],[1319328000000,8.21198],[1319414400000,8.21198],[1319500800000,8.29664],[1319587200000,8.35625],[1319673600000,8.27569],[1319760000000,8.49114]], 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: [[1318032000000, 7.803093],[1318032000000, 7.803093],[1318118400000, 7.803093],[1318204800000, 7.803093],[1318291200000, 7.921996],[1318377600000, 7.927838],[1318464000000, 8.065688],[1318550400000, 8.088241],[1318636800000, 8.177062],[1318723200000, 8.177062],[1318809600000, 8.177062],[1318896000000, 8.195826],[1318982400000, 8.086268],[1319068800000, 8.229218],[1319155200000, 8.188006],[1319241600000, 8.211977],[1319328000000, 8.211977],[1319414400000, 8.211977],[1319500800000, 8.296644],[1319587200000, 8.356248],[1319673600000, 8.275686],[1319760000000, 8.491138]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });