$(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: [[1225497600000,3.83684],[1225584000000,3.83684],[1225670400000,3.83684],[1225756800000,3.88768],[1225843200000,4.02558],[1225929600000,4.02678],[1226016000000,3.9446],[1226102400000,3.87329],[1226188800000,3.87329],[1226275200000,3.87329],[1226361600000,3.99738],[1226448000000,3.86925],[1226534400000,3.81336],[1226620800000,3.69557],[1226707200000,3.79856],[1226793600000,3.79856],[1226880000000,3.79856],[1226966400000,3.77513],[1227052800000,3.81672],[1227139200000,3.8739],[1227225600000,3.77563],[1227312000000,3.83548],[1227398400000,3.83548],[1227484800000,3.83548],[1227571200000,4.03327],[1227657600000,4.21565],[1227744000000,4.362],[1227830400000,4.41715],[1227916800000,4.48126],[1228003200000,4.48126]], 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: [[1225497600000, 3.836843],[1225497600000, 3.836843],[1225584000000, 3.836843],[1225670400000, 3.836843],[1225756800000, 3.887680],[1225843200000, 4.025579],[1225929600000, 4.026777],[1226016000000, 3.944599],[1226102400000, 3.873292],[1226188800000, 3.873292],[1226275200000, 3.873292],[1226361600000, 3.997379],[1226448000000, 3.869252],[1226534400000, 3.813364],[1226620800000, 3.695565],[1226707200000, 3.798560],[1226793600000, 3.798560],[1226880000000, 3.798560],[1226966400000, 3.775130],[1227052800000, 3.816717],[1227139200000, 3.873901],[1227225600000, 3.775629],[1227312000000, 3.835475],[1227398400000, 3.835475],[1227484800000, 3.835475],[1227571200000, 4.033272],[1227657600000, 4.215652],[1227744000000, 4.362004],[1227830400000, 4.417148],[1227916800000, 4.481262],[1228003200000, 4.481262]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });