$(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: [[1283299200000,6.99129],[1283385600000,7.13826],[1283472000000,7.18023],[1283558400000,7.20121],[1283644800000,7.20121],[1283731200000,7.20121],[1283817600000,7.25557],[1283904000000,7.20799],[1283990400000,7.25247],[1284076800000,7.31293],[1284163200000,7.32454],[1284249600000,7.32454],[1284336000000,7.32454],[1284422400000,7.37204],[1284508800000,7.39562],[1284595200000,7.41993],[1284681600000,7.41992],[1284768000000,7.44813],[1284854400000,7.44813],[1284940800000,7.44813],[1285027200000,7.48847],[1285113600000,7.50071],[1285200000000,7.56863],[1285286400000,7.50231],[1285372800000,7.55185],[1285459200000,7.55185],[1285545600000,7.55185],[1285632000000,7.60375],[1285718400000,7.60175],[1285804800000,7.69417]], 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: [[1283299200000, 6.991286],[1283299200000, 6.991286],[1283385600000, 7.138256],[1283472000000, 7.180226],[1283558400000, 7.201209],[1283644800000, 7.201209],[1283731200000, 7.201209],[1283817600000, 7.255571],[1283904000000, 7.207989],[1283990400000, 7.252468],[1284076800000, 7.312928],[1284163200000, 7.324539],[1284249600000, 7.324539],[1284336000000, 7.324539],[1284422400000, 7.372041],[1284508800000, 7.395615],[1284595200000, 7.419930],[1284681600000, 7.419924],[1284768000000, 7.448131],[1284854400000, 7.448131],[1284940800000, 7.448131],[1285027200000, 7.488473],[1285113600000, 7.500715],[1285200000000, 7.568633],[1285286400000, 7.502314],[1285372800000, 7.551853],[1285459200000, 7.551853],[1285545600000, 7.551853],[1285632000000, 7.603753],[1285718400000, 7.601749],[1285804800000, 7.694167]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });