$(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: [[1214870400000,4.66096],[1214956800000,4.63089],[1215043200000,4.66305],[1215129600000,4.66649],[1215216000000,4.65904],[1215302400000,4.65904],[1215388800000,4.65904],[1215475200000,4.62949],[1215561600000,4.60889],[1215648000000,4.61079],[1215734400000,4.64959],[1215820800000,4.66874],[1215907200000,4.66874],[1215993600000,4.66874],[1216080000000,4.68691],[1216166400000,4.75388],[1216252800000,4.72714],[1216339200000,4.72202],[1216425600000,4.69975],[1216512000000,4.69975],[1216598400000,4.69975],[1216684800000,4.72034],[1216771200000,4.73151],[1216857600000,4.6661],[1216944000000,4.65228],[1217030400000,4.63539],[1217116800000,4.63539],[1217203200000,4.63539],[1217289600000,4.63171],[1217376000000,4.62426],[1217462400000,4.58649]], 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: [[1214870400000, 4.660958],[1214870400000, 4.660958],[1214956800000, 4.630892],[1215043200000, 4.663049],[1215129600000, 4.666489],[1215216000000, 4.659042],[1215302400000, 4.659042],[1215388800000, 4.659042],[1215475200000, 4.629494],[1215561600000, 4.608889],[1215648000000, 4.610794],[1215734400000, 4.649595],[1215820800000, 4.668736],[1215907200000, 4.668736],[1215993600000, 4.668736],[1216080000000, 4.686913],[1216166400000, 4.753882],[1216252800000, 4.727144],[1216339200000, 4.722019],[1216425600000, 4.699745],[1216512000000, 4.699745],[1216598400000, 4.699745],[1216684800000, 4.720339],[1216771200000, 4.731513],[1216857600000, 4.666103],[1216944000000, 4.652281],[1217030400000, 4.635395],[1217116800000, 4.635395],[1217203200000, 4.635395],[1217289600000, 4.631711],[1217376000000, 4.624261],[1217462400000, 4.586487]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });