$(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: [[1136246400000,3.69823],[1136332800000,3.69823],[1136419200000,3.69823],[1136505600000,3.76678],[1136592000000,3.77579],[1136678400000,3.77579],[1136764800000,3.77579],[1136851200000,3.77579],[1136937600000,3.79702],[1137024000000,3.80078],[1137110400000,3.80912],[1137196800000,3.79033],[1137283200000,3.79033],[1137369600000,3.79033],[1137456000000,3.80715],[1137542400000,3.80048],[1137628800000,3.78415],[1137715200000,3.75955],[1137801600000,3.7785],[1137888000000,3.7785],[1137974400000,3.7785],[1138060800000,3.80665],[1138147200000,3.78742],[1138233600000,3.8152],[1138320000000,3.8145],[1138406400000,3.79717],[1138492800000,3.79717],[1138579200000,3.79717],[1138665600000,3.78546]], 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: [[1136246400000, 3.698234],[1136246400000, 3.698234],[1136332800000, 3.698234],[1136419200000, 3.698234],[1136505600000, 3.766778],[1136592000000, 3.775791],[1136678400000, 3.775791],[1136764800000, 3.775791],[1136851200000, 3.775791],[1136937600000, 3.797021],[1137024000000, 3.800785],[1137110400000, 3.809119],[1137196800000, 3.790334],[1137283200000, 3.790334],[1137369600000, 3.790334],[1137456000000, 3.807146],[1137542400000, 3.800483],[1137628800000, 3.784145],[1137715200000, 3.759552],[1137801600000, 3.778498],[1137888000000, 3.778498],[1137974400000, 3.778498],[1138060800000, 3.806646],[1138147200000, 3.787423],[1138233600000, 3.815197],[1138320000000, 3.814504],[1138406400000, 3.797171],[1138492800000, 3.797171],[1138579200000, 3.797171],[1138665600000, 3.785463]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });