$(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: [[1159660800000,3.76254],[1159747200000,3.76254],[1159833600000,3.7589],[1159920000000,3.7721],[1160006400000,3.75706],[1160092800000,3.77467],[1160179200000,3.76883],[1160265600000,3.76883],[1160352000000,3.76883],[1160438400000,3.75998],[1160524800000,3.75701],[1160611200000,3.76364],[1160697600000,3.7841],[1160784000000,3.79756],[1160870400000,3.79756],[1160956800000,3.79756],[1161043200000,3.80201],[1161129600000,3.80634],[1161216000000,3.81166],[1161302400000,3.82058],[1161388800000,3.83699],[1161475200000,3.83699],[1161561600000,3.83699],[1161648000000,3.83013],[1161734400000,3.82209],[1161820800000,3.83606],[1161907200000,3.84926],[1161993600000,3.86747],[1162080000000,3.86747],[1162166400000,3.86747],[1162252800000,3.88229]], 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: [[1159660800000, 3.762535],[1159660800000, 3.762535],[1159747200000, 3.762535],[1159833600000, 3.758904],[1159920000000, 3.772100],[1160006400000, 3.757065],[1160092800000, 3.774667],[1160179200000, 3.768826],[1160265600000, 3.768826],[1160352000000, 3.768826],[1160438400000, 3.759978],[1160524800000, 3.757011],[1160611200000, 3.763645],[1160697600000, 3.784103],[1160784000000, 3.797561],[1160870400000, 3.797561],[1160956800000, 3.797561],[1161043200000, 3.802006],[1161129600000, 3.806343],[1161216000000, 3.811659],[1161302400000, 3.820578],[1161388800000, 3.836990],[1161475200000, 3.836990],[1161561600000, 3.836990],[1161648000000, 3.830130],[1161734400000, 3.822091],[1161820800000, 3.836061],[1161907200000, 3.849256],[1161993600000, 3.867469],[1162080000000, 3.867469],[1162166400000, 3.867469],[1162252800000, 3.882291]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });