$(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: [[1346457600000,8.26159],[1346544000000,8.26159],[1346630400000,8.26159],[1346716800000,8.18179],[1346803200000,8.19629],[1346889600000,8.14914],[1346976000000,8.18536],[1347062400000,8.27096],[1347148800000,8.27096],[1347235200000,8.27096],[1347321600000,8.26938],[1347408000000,8.30879],[1347494400000,8.36534],[1347580800000,8.3507],[1347667200000,8.4642],[1347753600000,8.4642],[1347840000000,8.4642],[1347926400000,8.39997],[1348012800000,8.32926],[1348099200000,8.34404],[1348185600000,8.30923],[1348272000000,8.39572],[1348358400000,8.39572],[1348444800000,8.39572],[1348531200000,8.31555],[1348617600000,8.34063],[1348704000000,8.26585],[1348790400000,8.32944],[1348876800000,8.33733],[1348963200000,8.33733]], 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: [[1346457600000, 8.261595],[1346457600000, 8.261595],[1346544000000, 8.261595],[1346630400000, 8.261595],[1346716800000, 8.181791],[1346803200000, 8.196295],[1346889600000, 8.149141],[1346976000000, 8.185361],[1347062400000, 8.270955],[1347148800000, 8.270955],[1347235200000, 8.270955],[1347321600000, 8.269380],[1347408000000, 8.308795],[1347494400000, 8.365341],[1347580800000, 8.350702],[1347667200000, 8.464203],[1347753600000, 8.464203],[1347840000000, 8.464203],[1347926400000, 8.399968],[1348012800000, 8.329259],[1348099200000, 8.344037],[1348185600000, 8.309231],[1348272000000, 8.395721],[1348358400000, 8.395721],[1348444800000, 8.395721],[1348531200000, 8.315553],[1348617600000, 8.340634],[1348704000000, 8.265847],[1348790400000, 8.329438],[1348876800000, 8.337326],[1348963200000, 8.337326]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });