$(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: [[1285891200000,7.67276],[1285977600000,7.69245],[1286064000000,7.69245],[1286150400000,7.69245],[1286236800000,7.65952],[1286323200000,7.60207],[1286409600000,7.70688],[1286496000000,7.81923],[1286582400000,7.70011],[1286668800000,7.70011],[1286755200000,7.70011],[1286841600000,7.78862],[1286928000000,7.77335],[1287014400000,7.81472],[1287100800000,7.8842],[1287187200000,7.87936],[1287273600000,7.87936],[1287360000000,7.87936],[1287446400000,7.80433],[1287532800000,7.74397],[1287619200000,7.74947],[1287705600000,7.80469],[1287792000000,7.76469],[1287878400000,7.76469],[1287964800000,7.76469],[1288051200000,7.86898],[1288137600000,7.80169],[1288224000000,7.69366],[1288310400000,7.7434],[1288396800000,7.71122],[1288483200000,7.71122]], 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: [[1285891200000, 7.672756],[1285891200000, 7.672756],[1285977600000, 7.692453],[1286064000000, 7.692453],[1286150400000, 7.692453],[1286236800000, 7.659520],[1286323200000, 7.602066],[1286409600000, 7.706882],[1286496000000, 7.819226],[1286582400000, 7.700109],[1286668800000, 7.700109],[1286755200000, 7.700109],[1286841600000, 7.788622],[1286928000000, 7.773348],[1287014400000, 7.814721],[1287100800000, 7.884199],[1287187200000, 7.879359],[1287273600000, 7.879359],[1287360000000, 7.879359],[1287446400000, 7.804330],[1287532800000, 7.743970],[1287619200000, 7.749466],[1287705600000, 7.804686],[1287792000000, 7.764687],[1287878400000, 7.764687],[1287964800000, 7.764687],[1288051200000, 7.868977],[1288137600000, 7.801686],[1288224000000, 7.693660],[1288310400000, 7.743399],[1288396800000, 7.711222],[1288483200000, 7.711222]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });