$(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: [[1341100800000,8.05317],[1341187200000,8.05317],[1341273600000,8.19422],[1341360000000,8.19518],[1341446400000,8.2142],[1341532800000,8.22755],[1341619200000,8.20394],[1341705600000,8.20446],[1341792000000,8.20446],[1341878400000,8.13259],[1341964800000,8.17262],[1342051200000,8.19829],[1342137600000,8.09201],[1342224000000,8.12706],[1342310400000,8.12706],[1342396800000,8.12706],[1342483200000,8.15575],[1342569600000,8.22059],[1342656000000,8.24019],[1342742400000,8.34055],[1342828800000,8.30689],[1342915200000,8.30689],[1343001600000,8.30689],[1343088000000,8.21073],[1343174400000,8.22081],[1343260800000,8.22482],[1343347200000,8.31164],[1343433600000,8.33826],[1343520000000,8.33826],[1343606400000,8.33826],[1343692800000,8.38895]], 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: [[1341100800000, 8.053167],[1341100800000, 8.053167],[1341187200000, 8.053167],[1341273600000, 8.194216],[1341360000000, 8.195180],[1341446400000, 8.214205],[1341532800000, 8.227554],[1341619200000, 8.203945],[1341705600000, 8.204459],[1341792000000, 8.204459],[1341878400000, 8.132590],[1341964800000, 8.172618],[1342051200000, 8.198292],[1342137600000, 8.092007],[1342224000000, 8.127061],[1342310400000, 8.127061],[1342396800000, 8.127061],[1342483200000, 8.155753],[1342569600000, 8.220587],[1342656000000, 8.240192],[1342742400000, 8.340551],[1342828800000, 8.306892],[1342915200000, 8.306892],[1343001600000, 8.306892],[1343088000000, 8.210732],[1343174400000, 8.220808],[1343260800000, 8.224819],[1343347200000, 8.311635],[1343433600000, 8.338255],[1343520000000, 8.338255],[1343606400000, 8.338255],[1343692800000, 8.388951]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });