$(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: [[1143849600000,3.59624],[1143936000000,3.59624],[1144022400000,3.59624],[1144108800000,3.62005],[1144195200000,3.63966],[1144281600000,3.65954],[1144368000000,3.70115],[1144454400000,3.69326],[1144540800000,3.69326],[1144627200000,3.69326],[1144713600000,3.67718],[1144800000000,3.69144],[1144886400000,3.69263],[1144972800000,3.67168],[1145059200000,3.67168],[1145145600000,3.67168],[1145232000000,3.67168],[1145318400000,3.67168],[1145404800000,3.72727],[1145491200000,3.75677],[1145577600000,3.75722],[1145664000000,3.74125],[1145750400000,3.74125],[1145836800000,3.74125],[1145923200000,3.74125],[1146009600000,3.77171],[1146096000000,3.77467],[1146182400000,3.78887],[1146268800000,3.8142],[1146355200000,3.8142]], 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: [[1143849600000, 3.596235],[1143849600000, 3.596235],[1143936000000, 3.596235],[1144022400000, 3.596235],[1144108800000, 3.620047],[1144195200000, 3.639658],[1144281600000, 3.659541],[1144368000000, 3.701149],[1144454400000, 3.693265],[1144540800000, 3.693265],[1144627200000, 3.693265],[1144713600000, 3.677176],[1144800000000, 3.691440],[1144886400000, 3.692634],[1144972800000, 3.671678],[1145059200000, 3.671678],[1145145600000, 3.671678],[1145232000000, 3.671678],[1145318400000, 3.671678],[1145404800000, 3.727265],[1145491200000, 3.756767],[1145577600000, 3.757219],[1145664000000, 3.741247],[1145750400000, 3.741247],[1145836800000, 3.741247],[1145923200000, 3.741247],[1146009600000, 3.771715],[1146096000000, 3.774665],[1146182400000, 3.788873],[1146268800000, 3.814197],[1146355200000, 3.814197]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });