$(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: [[1191196800000,4.45492],[1191283200000,4.48581],[1191369600000,4.47867],[1191456000000,4.49153],[1191542400000,4.46907],[1191628800000,4.50504],[1191715200000,4.50504],[1191801600000,4.50504],[1191888000000,4.53759],[1191974400000,4.51796],[1192060800000,4.53369],[1192147200000,4.56109],[1192233600000,4.55303],[1192320000000,4.55303],[1192406400000,4.55303],[1192492800000,4.58026],[1192579200000,4.486],[1192665600000,4.50978],[1192752000000,4.49794],[1192838400000,4.5289],[1192924800000,4.5289],[1193011200000,4.5289],[1193097600000,4.43786],[1193184000000,4.51359],[1193270400000,4.53872],[1193356800000,4.56969],[1193443200000,4.6167],[1193529600000,4.6167],[1193616000000,4.6167],[1193702400000,4.64315],[1193788800000,4.63764]], 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: [[1191196800000, 4.454921],[1191196800000, 4.454921],[1191283200000, 4.485807],[1191369600000, 4.478666],[1191456000000, 4.491526],[1191542400000, 4.469074],[1191628800000, 4.505036],[1191715200000, 4.505036],[1191801600000, 4.505036],[1191888000000, 4.537592],[1191974400000, 4.517964],[1192060800000, 4.533687],[1192147200000, 4.561093],[1192233600000, 4.553031],[1192320000000, 4.553031],[1192406400000, 4.553031],[1192492800000, 4.580255],[1192579200000, 4.486000],[1192665600000, 4.509779],[1192752000000, 4.497941],[1192838400000, 4.528898],[1192924800000, 4.528898],[1193011200000, 4.528898],[1193097600000, 4.437860],[1193184000000, 4.513588],[1193270400000, 4.538717],[1193356800000, 4.569686],[1193443200000, 4.616703],[1193529600000, 4.616703],[1193616000000, 4.616703],[1193702400000, 4.643148],[1193788800000, 4.637643]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });