$(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: [[1241136000000,5.63306],[1241222400000,5.63306],[1241308800000,null],[1241395200000,5.63306],[1241481600000,5.63306],[1241568000000,5.73414],[1241654400000,5.72525],[1241740800000,5.86115],[1241827200000,5.8198],[1241913600000,5.8198],[1242000000000,5.8198],[1242086400000,5.8198],[1242172800000,5.86573],[1242259200000,5.80876],[1242345600000,5.70784],[1242432000000,5.74847],[1242518400000,5.74847],[1242604800000,5.74847],[1242691200000,5.78551],[1242777600000,5.90641],[1242864000000,5.90566],[1242950400000,5.87209],[1243036800000,5.9674],[1243123200000,5.9674],[1243209600000,5.9674],[1243296000000,5.95277],[1243382400000,5.90367],[1243468800000,5.95914],[1243555200000,5.94638],[1243641600000,6.07807],[1243728000000,6.07807]], 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: [[1241136000000, 5.633060],[1241136000000, 5.633060],[1241222400000, 5.633060],[1241395200000, 5.633060],[1241481600000, 5.633060],[1241568000000, 5.734143],[1241654400000, 5.725255],[1241740800000, 5.861154],[1241827200000, 5.819800],[1241913600000, 5.819800],[1242000000000, 5.819800],[1242086400000, 5.819800],[1242172800000, 5.865730],[1242259200000, 5.808762],[1242345600000, 5.707840],[1242432000000, 5.748468],[1242518400000, 5.748468],[1242604800000, 5.748468],[1242691200000, 5.785507],[1242777600000, 5.906413],[1242864000000, 5.905659],[1242950400000, 5.872085],[1243036800000, 5.967404],[1243123200000, 5.967404],[1243209600000, 5.967404],[1243296000000, 5.952765],[1243382400000, 5.903674],[1243468800000, 5.959136],[1243555200000, 5.946380],[1243641600000, 6.078072],[1243728000000, 6.078072]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });