$(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: [[1343779200000,8.40994],[1343865600000,8.408],[1343952000000,8.42209],[1344038400000,8.40195],[1344124800000,8.40195],[1344211200000,8.40195],[1344297600000,8.4374],[1344384000000,8.46614],[1344470400000,8.42461],[1344556800000,8.44762],[1344643200000,8.40495],[1344729600000,8.40495],[1344816000000,8.40495],[1344902400000,8.43747],[1344988800000,8.41828],[1345075200000,8.36862],[1345161600000,8.38139],[1345248000000,8.33626],[1345334400000,8.33626],[1345420800000,8.33626],[1345507200000,8.343],[1345593600000,8.39066],[1345680000000,8.34285],[1345766400000,8.37394],[1345852800000,8.37394],[1345939200000,8.37394],[1346025600000,8.37394],[1346112000000,8.30726],[1346198400000,8.29305],[1346284800000,8.29518],[1346371200000,8.25763]], 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: [[1343779200000, 8.409937],[1343779200000, 8.409937],[1343865600000, 8.407999],[1343952000000, 8.422086],[1344038400000, 8.401947],[1344124800000, 8.401947],[1344211200000, 8.401947],[1344297600000, 8.437396],[1344384000000, 8.466140],[1344470400000, 8.424611],[1344556800000, 8.447624],[1344643200000, 8.404954],[1344729600000, 8.404954],[1344816000000, 8.404954],[1344902400000, 8.437473],[1344988800000, 8.418276],[1345075200000, 8.368620],[1345161600000, 8.381387],[1345248000000, 8.336262],[1345334400000, 8.336262],[1345420800000, 8.336262],[1345507200000, 8.342999],[1345593600000, 8.390658],[1345680000000, 8.342853],[1345766400000, 8.373937],[1345852800000, 8.373937],[1345939200000, 8.373937],[1346025600000, 8.373937],[1346112000000, 8.307257],[1346198400000, 8.293051],[1346284800000, 8.295184],[1346371200000, 8.257634]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });