$(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: [[1335830400000,8.33649],[1335916800000,8.33649],[1336003200000,8.33649],[1336089600000,8.21591],[1336176000000,8.17797],[1336262400000,8.17797],[1336348800000,8.17797],[1336435200000,8.13921],[1336521600000,8.11032],[1336608000000,8.11032],[1336694400000,8.08987],[1336780800000,8.03157],[1336867200000,8.03157],[1336953600000,8.03157],[1337040000000,7.97884],[1337126400000,7.99436],[1337212800000,7.94323],[1337299200000,7.92043],[1337385600000,7.89346],[1337472000000,7.89346],[1337558400000,7.89346],[1337644800000,7.85655],[1337731200000,7.90459],[1337817600000,7.79664],[1337904000000,7.81512],[1337990400000,7.82473],[1338076800000,7.82473],[1338163200000,7.82473],[1338249600000,7.88334],[1338336000000,7.85821],[1338422400000,7.80978]], 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: [[1335830400000, 8.336492],[1335830400000, 8.336492],[1335916800000, 8.336492],[1336003200000, 8.336492],[1336089600000, 8.215911],[1336176000000, 8.177971],[1336262400000, 8.177971],[1336348800000, 8.177971],[1336435200000, 8.139206],[1336521600000, 8.110321],[1336608000000, 8.110321],[1336694400000, 8.089867],[1336780800000, 8.031573],[1336867200000, 8.031573],[1336953600000, 8.031573],[1337040000000, 7.978835],[1337126400000, 7.994357],[1337212800000, 7.943231],[1337299200000, 7.920427],[1337385600000, 7.893460],[1337472000000, 7.893460],[1337558400000, 7.893460],[1337644800000, 7.856552],[1337731200000, 7.904589],[1337817600000, 7.796645],[1337904000000, 7.815124],[1337990400000, 7.824729],[1338076800000, 7.824729],[1338163200000, 7.824729],[1338249600000, 7.883340],[1338336000000, 7.858214],[1338422400000, 7.809782]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });