$(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: [[1328054400000,8.51304],[1328140800000,8.54973],[1328227200000,8.54296],[1328313600000,8.54069],[1328400000000,8.54069],[1328486400000,8.54069],[1328572800000,8.54673],[1328659200000,8.61516],[1328745600000,8.65708],[1328832000000,8.6352],[1328918400000,8.51133],[1329004800000,8.51133],[1329091200000,8.51133],[1329177600000,8.58908],[1329264000000,8.55385],[1329350400000,8.57566],[1329436800000,8.52184],[1329523200000,8.5951],[1329609600000,8.5951],[1329696000000,8.5951],[1329782400000,8.61271],[1329868800000,8.5272],[1329955200000,8.49364],[1330041600000,8.54603],[1330128000000,8.55856],[1330214400000,8.55856],[1330300800000,8.55856],[1330387200000,8.53223],[1330473600000,8.60588]], 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: [[1328054400000, 8.513043],[1328054400000, 8.513043],[1328140800000, 8.549732],[1328227200000, 8.542964],[1328313600000, 8.540691],[1328400000000, 8.540691],[1328486400000, 8.540691],[1328572800000, 8.546725],[1328659200000, 8.615158],[1328745600000, 8.657084],[1328832000000, 8.635201],[1328918400000, 8.511331],[1329004800000, 8.511331],[1329091200000, 8.511331],[1329177600000, 8.589078],[1329264000000, 8.553853],[1329350400000, 8.575663],[1329436800000, 8.521838],[1329523200000, 8.595097],[1329609600000, 8.595097],[1329696000000, 8.595097],[1329782400000, 8.612710],[1329868800000, 8.527202],[1329955200000, 8.493637],[1330041600000, 8.546026],[1330128000000, 8.558562],[1330214400000, 8.558562],[1330300800000, 8.558562],[1330387200000, 8.532233],[1330473600000, 8.605884]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });