$(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: [[1128124800000,3.84206],[1128211200000,3.84206],[1128297600000,3.84206],[1128384000000,3.84985],[1128470400000,3.85787],[1128556800000,3.83647],[1128643200000,3.82372],[1128729600000,3.82912],[1128816000000,3.82912],[1128902400000,3.82912],[1128988800000,3.83228],[1129075200000,3.81136],[1129161600000,3.8074],[1129248000000,3.78284],[1129334400000,3.79145],[1129420800000,3.79145],[1129507200000,3.79145],[1129593600000,3.78876],[1129680000000,3.76832],[1129766400000,3.78093],[1129852800000,3.79186],[1129939200000,3.7901],[1130025600000,3.7901],[1130112000000,3.7901],[1130198400000,3.77714],[1130284800000,3.79856],[1130371200000,3.81065],[1130457600000,3.8326],[1130544000000,3.80395],[1130630400000,3.80395],[1130716800000,3.80395]], 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: [[1128124800000, 3.842058],[1128124800000, 3.842058],[1128211200000, 3.842058],[1128297600000, 3.842058],[1128384000000, 3.849847],[1128470400000, 3.857868],[1128556800000, 3.836471],[1128643200000, 3.823721],[1128729600000, 3.829121],[1128816000000, 3.829121],[1128902400000, 3.829121],[1128988800000, 3.832281],[1129075200000, 3.811357],[1129161600000, 3.807396],[1129248000000, 3.782842],[1129334400000, 3.791450],[1129420800000, 3.791450],[1129507200000, 3.791450],[1129593600000, 3.788761],[1129680000000, 3.768322],[1129766400000, 3.780935],[1129852800000, 3.791862],[1129939200000, 3.790103],[1130025600000, 3.790103],[1130112000000, 3.790103],[1130198400000, 3.777143],[1130284800000, 3.798563],[1130371200000, 3.810647],[1130457600000, 3.832603],[1130544000000, 3.803953],[1130630400000, 3.803953],[1130716800000, 3.803953]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });