$(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: [[1157068800000,3.86065],[1157155200000,3.86354],[1157241600000,3.86354],[1157328000000,3.86354],[1157414400000,3.89104],[1157500800000,3.88601],[1157587200000,3.87504],[1157673600000,3.84335],[1157760000000,3.82671],[1157846400000,3.82671],[1157932800000,3.82671],[1158019200000,3.80516],[1158105600000,3.80441],[1158192000000,3.79146],[1158278400000,3.81562],[1158364800000,3.79806],[1158451200000,3.79806],[1158537600000,3.79806],[1158624000000,3.80229],[1158710400000,3.80328],[1158796800000,3.80039],[1158883200000,3.81416],[1158969600000,3.80449],[1159056000000,3.80449],[1159142400000,3.80449],[1159228800000,3.79575],[1159315200000,3.8027],[1159401600000,3.78683],[1159488000000,3.78564],[1159574400000,3.76254]], 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: [[1157068800000, 3.860651],[1157068800000, 3.860651],[1157155200000, 3.863538],[1157241600000, 3.863538],[1157328000000, 3.863538],[1157414400000, 3.891043],[1157500800000, 3.886015],[1157587200000, 3.875039],[1157673600000, 3.843349],[1157760000000, 3.826706],[1157846400000, 3.826706],[1157932800000, 3.826706],[1158019200000, 3.805159],[1158105600000, 3.804413],[1158192000000, 3.791463],[1158278400000, 3.815616],[1158364800000, 3.798063],[1158451200000, 3.798063],[1158537600000, 3.798063],[1158624000000, 3.802286],[1158710400000, 3.803279],[1158796800000, 3.800392],[1158883200000, 3.814164],[1158969600000, 3.804494],[1159056000000, 3.804494],[1159142400000, 3.804494],[1159228800000, 3.795750],[1159315200000, 3.802702],[1159401600000, 3.786828],[1159488000000, 3.785639],[1159574400000, 3.762535]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });