$(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: [[1367366400000,8.2603],[1367452800000,8.2603],[1367539200000,8.2603],[1367625600000,8.2603],[1367712000000,8.2603],[1367798400000,8.2603],[1367884800000,8.2603],[1367971200000,8.11623],[1368057600000,8.15568],[1368144000000,8.15568],[1368230400000,8.15568],[1368316800000,8.15568],[1368403200000,8.15568],[1368489600000,7.97456],[1368576000000,7.93006],[1368662400000,7.90027],[1368748800000,7.85288],[1368835200000,7.78313],[1368921600000,7.78313],[1369008000000,7.78313],[1369094400000,7.81842],[1369180800000,7.82216],[1369267200000,7.79397],[1369353600000,7.74423],[1369440000000,7.74808],[1369526400000,7.74808],[1369612800000,7.74808],[1369699200000,7.71514],[1369785600000,7.74342],[1369872000000,7.69877],[1369958400000,7.66778]], 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: [[1367366400000, 8.260297],[1367366400000, 8.260297],[1367452800000, 8.260297],[1367539200000, 8.260297],[1367625600000, 8.260297],[1367712000000, 8.260297],[1367798400000, 8.260297],[1367884800000, 8.260297],[1367971200000, 8.116226],[1368057600000, 8.155679],[1368144000000, 8.155679],[1368230400000, 8.155679],[1368316800000, 8.155679],[1368403200000, 8.155679],[1368489600000, 7.974559],[1368576000000, 7.930058],[1368662400000, 7.900265],[1368748800000, 7.852879],[1368835200000, 7.783135],[1368921600000, 7.783135],[1369008000000, 7.783135],[1369094400000, 7.818419],[1369180800000, 7.822160],[1369267200000, 7.793974],[1369353600000, 7.744233],[1369440000000, 7.748084],[1369526400000, 7.748084],[1369612800000, 7.748084],[1369699200000, 7.715138],[1369785600000, 7.743424],[1369872000000, 7.698768],[1369958400000, 7.667783]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });