$(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: [[1391212800000,6.96271],[1391299200000,6.96271],[1391385600000,6.96271],[1391472000000,7.03047],[1391558400000,7.11138],[1391644800000,7.13386],[1391731200000,7.80775],[1391817600000,7.62695],[1391904000000,7.62695],[1391990400000,7.62695],[1392076800000,7.64457],[1392163200000,7.71979],[1392249600000,7.729],[1392336000000,7.73596],[1392422400000,7.80412],[1392508800000,7.80412],[1392595200000,7.80412],[1392681600000,7.8131],[1392768000000,7.84117],[1392854400000,7.93537],[1392940800000,7.9333],[1393027200000,8.0163],[1393113600000,8.0163],[1393200000000,8.0163],[1393286400000,8.12866],[1393372800000,8.50827],[1393459200000,8.54544],[1393545600000,8.92143]], 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: [[1391212800000, 6.962709],[1391212800000, 6.962709],[1391299200000, 6.962709],[1391385600000, 6.962709],[1391472000000, 7.030465],[1391558400000, 7.111377],[1391644800000, 7.133860],[1391731200000, 7.807751],[1391817600000, 7.626946],[1391904000000, 7.626946],[1391990400000, 7.626946],[1392076800000, 7.644573],[1392163200000, 7.719790],[1392249600000, 7.728999],[1392336000000, 7.735961],[1392422400000, 7.804121],[1392508800000, 7.804121],[1392595200000, 7.804121],[1392681600000, 7.813102],[1392768000000, 7.841166],[1392854400000, 7.935373],[1392940800000, 7.933305],[1393027200000, 8.016303],[1393113600000, 8.016303],[1393200000000, 8.016303],[1393286400000, 8.128663],[1393372800000, 8.508274],[1393459200000, 8.545441],[1393545600000, 8.921426]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });