$(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: [[1277942400000,6.73512],[1278028800000,6.60872],[1278115200000,6.67794],[1278201600000,6.67794],[1278288000000,6.67794],[1278374400000,6.64489],[1278460800000,6.72706],[1278547200000,6.70466],[1278633600000,6.91641],[1278720000000,6.91118],[1278806400000,6.91118],[1278892800000,6.91118],[1278979200000,6.90089],[1279065600000,6.92821],[1279152000000,6.96809],[1279238400000,6.98783],[1279324800000,6.93339],[1279411200000,6.93339],[1279497600000,6.93339],[1279584000000,6.84944],[1279670400000,6.89237],[1279756800000,6.98693],[1279843200000,7.00998],[1279929600000,7.05862],[1280016000000,7.05862],[1280102400000,7.05862],[1280188800000,7.07749],[1280275200000,7.14381],[1280361600000,7.06354],[1280448000000,7.11422],[1280534400000,7.10812]], 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: [[1277942400000, 6.735120],[1277942400000, 6.735120],[1278028800000, 6.608721],[1278115200000, 6.677944],[1278201600000, 6.677944],[1278288000000, 6.677944],[1278374400000, 6.644891],[1278460800000, 6.727060],[1278547200000, 6.704661],[1278633600000, 6.916414],[1278720000000, 6.911176],[1278806400000, 6.911176],[1278892800000, 6.911176],[1278979200000, 6.900891],[1279065600000, 6.928205],[1279152000000, 6.968087],[1279238400000, 6.987828],[1279324800000, 6.933392],[1279411200000, 6.933392],[1279497600000, 6.933392],[1279584000000, 6.849443],[1279670400000, 6.892371],[1279756800000, 6.986933],[1279843200000, 7.009979],[1279929600000, 7.058620],[1280016000000, 7.058620],[1280102400000, 7.058620],[1280188800000, 7.077493],[1280275200000, 7.143807],[1280361600000, 7.063539],[1280448000000, 7.114223],[1280534400000, 7.108122]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });