$(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: [[1149120000000,3.83315],[1149206400000,3.7654],[1149292800000,3.77329],[1149379200000,3.77329],[1149465600000,3.77329],[1149552000000,3.79262],[1149638400000,3.76035],[1149724800000,3.74186],[1149811200000,3.76092],[1149897600000,3.78227],[1149984000000,3.78227],[1150070400000,3.78227],[1150156800000,3.78227],[1150243200000,3.74093],[1150329600000,3.73107],[1150416000000,3.7288],[1150502400000,3.74619],[1150588800000,3.74619],[1150675200000,3.74619],[1150761600000,3.72711],[1150848000000,3.72318],[1150934400000,3.71292],[1151020800000,3.71313],[1151107200000,3.69298],[1151193600000,3.69298],[1151280000000,3.69298],[1151366400000,3.69721],[1151452800000,3.69618],[1151539200000,3.69618],[1151625600000,3.68285]], 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: [[1149120000000, 3.833150],[1149120000000, 3.833150],[1149206400000, 3.765400],[1149292800000, 3.773293],[1149379200000, 3.773293],[1149465600000, 3.773293],[1149552000000, 3.792622],[1149638400000, 3.760352],[1149724800000, 3.741857],[1149811200000, 3.760921],[1149897600000, 3.782271],[1149984000000, 3.782271],[1150070400000, 3.782271],[1150156800000, 3.782271],[1150243200000, 3.740928],[1150329600000, 3.731072],[1150416000000, 3.728803],[1150502400000, 3.746192],[1150588800000, 3.746192],[1150675200000, 3.746192],[1150761600000, 3.727113],[1150848000000, 3.723177],[1150934400000, 3.712915],[1151020800000, 3.713131],[1151107200000, 3.692975],[1151193600000, 3.692975],[1151280000000, 3.692975],[1151366400000, 3.697211],[1151452800000, 3.696176],[1151539200000, 3.696176],[1151625600000, 3.682855]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });