$(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: [[1270080000000,7.24653],[1270166400000,7.26823],[1270252800000,7.26823],[1270339200000,7.26823],[1270425600000,7.26823],[1270512000000,7.26823],[1270598400000,7.31102],[1270684800000,7.3358],[1270771200000,7.32167],[1270857600000,7.37851],[1270944000000,7.37851],[1271030400000,7.37851],[1271116800000,7.35781],[1271203200000,7.35101],[1271289600000,7.40016],[1271376000000,7.39661],[1271462400000,7.38864],[1271548800000,7.38864],[1271635200000,7.38864],[1271721600000,7.27936],[1271808000000,7.38256],[1271894400000,7.36737],[1271980800000,7.34692],[1272067200000,7.29399],[1272153600000,7.29399],[1272240000000,7.29399],[1272326400000,7.36493],[1272412800000,7.31749],[1272499200000,7.31915],[1272585600000,7.36167]], 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: [[1270080000000, 7.246528],[1270080000000, 7.246528],[1270166400000, 7.268226],[1270252800000, 7.268226],[1270339200000, 7.268226],[1270425600000, 7.268226],[1270512000000, 7.268226],[1270598400000, 7.311019],[1270684800000, 7.335797],[1270771200000, 7.321668],[1270857600000, 7.378514],[1270944000000, 7.378514],[1271030400000, 7.378514],[1271116800000, 7.357807],[1271203200000, 7.351013],[1271289600000, 7.400163],[1271376000000, 7.396612],[1271462400000, 7.388643],[1271548800000, 7.388643],[1271635200000, 7.388643],[1271721600000, 7.279363],[1271808000000, 7.382556],[1271894400000, 7.367373],[1271980800000, 7.346925],[1272067200000, 7.293994],[1272153600000, 7.293994],[1272240000000, 7.293994],[1272326400000, 7.364926],[1272412800000, 7.317486],[1272499200000, 7.319148],[1272585600000, 7.361668]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });