$(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: [[1296518400000,7.90053],[1296604800000,8.00435],[1296691200000,8.01545],[1296777600000,8.03903],[1296864000000,8.07906],[1296950400000,8.07906],[1297036800000,8.07906],[1297123200000,8.06279],[1297209600000,8.05009],[1297296000000,8.02355],[1297382400000,7.97046],[1297468800000,7.93177],[1297555200000,7.93177],[1297641600000,7.93177],[1297728000000,7.94942],[1297814400000,7.94762],[1297900800000,7.94346],[1297987200000,7.97818],[1298073600000,8.0289],[1298160000000,8.0289],[1298246400000,8.0289],[1298332800000,8.02642],[1298419200000,7.95643],[1298505600000,7.95588],[1298592000000,7.98445],[1298678400000,8.03876],[1298764800000,8.03876],[1298851200000,8.03876]], 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: [[1296518400000, 7.900532],[1296518400000, 7.900532],[1296604800000, 8.004348],[1296691200000, 8.015449],[1296777600000, 8.039034],[1296864000000, 8.079057],[1296950400000, 8.079057],[1297036800000, 8.079057],[1297123200000, 8.062792],[1297209600000, 8.050091],[1297296000000, 8.023547],[1297382400000, 7.970465],[1297468800000, 7.931770],[1297555200000, 7.931770],[1297641600000, 7.931770],[1297728000000, 7.949415],[1297814400000, 7.947618],[1297900800000, 7.943464],[1297987200000, 7.978178],[1298073600000, 8.028900],[1298160000000, 8.028900],[1298246400000, 8.028900],[1298332800000, 8.026425],[1298419200000, 7.956429],[1298505600000, 7.955876],[1298592000000, 7.984454],[1298678400000, 8.038764],[1298764800000, 8.038764],[1298851200000, 8.038764]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });