$(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: [[1185926400000,4.33956],[1186012800000,4.29922],[1186099200000,4.32351],[1186185600000,4.32622],[1186272000000,4.32622],[1186358400000,4.32622],[1186444800000,4.32616],[1186531200000,4.3157],[1186617600000,4.34314],[1186704000000,4.31756],[1186790400000,4.25011],[1186876800000,4.25011],[1186963200000,4.25011],[1187049600000,4.25988],[1187136000000,4.24089],[1187222400000,4.15444],[1187308800000,3.96528],[1187395200000,3.94717],[1187481600000,3.94717],[1187568000000,3.94717],[1187654400000,4.05299],[1187740800000,4.05561],[1187827200000,4.06755],[1187913600000,4.14091],[1188000000000,4.14091],[1188086400000,4.14091],[1188172800000,4.14091],[1188259200000,4.19926],[1188345600000,4.16887],[1188432000000,4.11874],[1188518400000,4.12127]], 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: [[1185926400000, 4.339562],[1185926400000, 4.339562],[1186012800000, 4.299218],[1186099200000, 4.323509],[1186185600000, 4.326225],[1186272000000, 4.326225],[1186358400000, 4.326225],[1186444800000, 4.326156],[1186531200000, 4.315699],[1186617600000, 4.343145],[1186704000000, 4.317564],[1186790400000, 4.250108],[1186876800000, 4.250108],[1186963200000, 4.250108],[1187049600000, 4.259875],[1187136000000, 4.240889],[1187222400000, 4.154435],[1187308800000, 3.965279],[1187395200000, 3.947174],[1187481600000, 3.947174],[1187568000000, 3.947174],[1187654400000, 4.052993],[1187740800000, 4.055612],[1187827200000, 4.067553],[1187913600000, 4.140915],[1188000000000, 4.140915],[1188086400000, 4.140915],[1188172800000, 4.140915],[1188259200000, 4.199263],[1188345600000, 4.168874],[1188432000000, 4.118743],[1188518400000, 4.121275]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });