$(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: [[1246406400000,6.22103],[1246492800000,6.15879],[1246579200000,6.12336],[1246665600000,6.09597],[1246752000000,6.09597],[1246838400000,6.09597],[1246924800000,6.02903],[1247011200000,6.11788],[1247097600000,5.97858],[1247184000000,5.98045],[1247270400000,5.90785],[1247356800000,5.90785],[1247443200000,5.90785],[1247529600000,5.91621],[1247616000000,6.03205],[1247702400000,6.12584],[1247788800000,6.14039],[1247875200000,6.11825],[1247961600000,6.11825],[1248048000000,6.11825],[1248134400000,6.22122],[1248220800000,6.24807],[1248307200000,6.23022],[1248393600000,6.27514],[1248480000000,6.26346],[1248566400000,6.26346],[1248652800000,6.26346],[1248739200000,6.33258],[1248825600000,6.38478],[1248912000000,6.30667],[1248998400000,6.34785]], 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: [[1246406400000, 6.221028],[1246406400000, 6.221028],[1246492800000, 6.158787],[1246579200000, 6.123360],[1246665600000, 6.095974],[1246752000000, 6.095974],[1246838400000, 6.095974],[1246924800000, 6.029032],[1247011200000, 6.117877],[1247097600000, 5.978575],[1247184000000, 5.980448],[1247270400000, 5.907848],[1247356800000, 5.907848],[1247443200000, 5.907848],[1247529600000, 5.916213],[1247616000000, 6.032052],[1247702400000, 6.125837],[1247788800000, 6.140386],[1247875200000, 6.118247],[1247961600000, 6.118247],[1248048000000, 6.118247],[1248134400000, 6.221216],[1248220800000, 6.248071],[1248307200000, 6.230219],[1248393600000, 6.275140],[1248480000000, 6.263459],[1248566400000, 6.263459],[1248652800000, 6.263459],[1248739200000, 6.332584],[1248825600000, 6.384784],[1248912000000, 6.306667],[1248998400000, 6.347846]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });