$(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: [[1264982400000,7.1433],[1265068800000,7.0672],[1265155200000,7.05037],[1265241600000,7.09999],[1265328000000,7.04519],[1265414400000,6.92286],[1265500800000,6.92286],[1265587200000,6.92286],[1265673600000,6.94584],[1265760000000,7.00667],[1265846400000,7.01002],[1265932800000,7.11389],[1266019200000,7.0682],[1266105600000,7.0682],[1266192000000,7.0682],[1266278400000,7.11469],[1266364800000,7.17216],[1266451200000,7.23066],[1266537600000,7.18041],[1266624000000,7.12708],[1266710400000,7.12708],[1266796800000,7.12708],[1266883200000,7.20412],[1266969600000,7.19842],[1267056000000,7.12531],[1267142400000,7.09714],[1267228800000,7.11446],[1267315200000,7.11446]], 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: [[1264982400000, 7.143298],[1264982400000, 7.143298],[1265068800000, 7.067200],[1265155200000, 7.050368],[1265241600000, 7.099992],[1265328000000, 7.045187],[1265414400000, 6.922859],[1265500800000, 6.922859],[1265587200000, 6.922859],[1265673600000, 6.945842],[1265760000000, 7.006674],[1265846400000, 7.010025],[1265932800000, 7.113892],[1266019200000, 7.068198],[1266105600000, 7.068198],[1266192000000, 7.068198],[1266278400000, 7.114690],[1266364800000, 7.172156],[1266451200000, 7.230659],[1266537600000, 7.180412],[1266624000000, 7.127082],[1266710400000, 7.127082],[1266796800000, 7.127082],[1266883200000, 7.204118],[1266969600000, 7.198423],[1267056000000, 7.125306],[1267142400000, 7.097136],[1267228800000, 7.114455],[1267315200000, 7.114455]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });