$(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: [[1267401600000,7.11446],[1267488000000,7.15424],[1267574400000,7.21494],[1267660800000,7.20493],[1267747200000,7.20365],[1267833600000,7.2084],[1267920000000,7.2084],[1268006400000,7.2084],[1268092800000,7.2084],[1268179200000,7.24589],[1268265600000,7.31339],[1268352000000,7.30681],[1268438400000,7.32554],[1268524800000,7.32554],[1268611200000,7.32554],[1268697600000,7.27737],[1268784000000,7.29519],[1268870400000,7.3646],[1268956800000,7.3512],[1269043200000,7.32293],[1269129600000,7.32293],[1269216000000,7.32293],[1269302400000,7.23279],[1269388800000,7.29056],[1269475200000,7.22191],[1269561600000,7.24581],[1269648000000,7.16533],[1269734400000,7.16533],[1269820800000,7.16533],[1269907200000,7.24567],[1269993600000,7.29316]], 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: [[1267401600000, 7.114455],[1267401600000, 7.114455],[1267488000000, 7.154237],[1267574400000, 7.214938],[1267660800000, 7.204931],[1267747200000, 7.203647],[1267833600000, 7.208401],[1267920000000, 7.208401],[1268006400000, 7.208401],[1268092800000, 7.208401],[1268179200000, 7.245889],[1268265600000, 7.313394],[1268352000000, 7.306806],[1268438400000, 7.325540],[1268524800000, 7.325540],[1268611200000, 7.325540],[1268697600000, 7.277371],[1268784000000, 7.295185],[1268870400000, 7.364603],[1268956800000, 7.351202],[1269043200000, 7.322930],[1269129600000, 7.322930],[1269216000000, 7.322930],[1269302400000, 7.232786],[1269388800000, 7.290558],[1269475200000, 7.221906],[1269561600000, 7.245806],[1269648000000, 7.165333],[1269734400000, 7.165333],[1269820800000, 7.165333],[1269907200000, 7.245668],[1269993600000, 7.293164]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });