$(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: [[1301616000000,8.23294],[1301702400000,8.24693],[1301788800000,8.24693],[1301875200000,8.24693],[1301961600000,8.26298],[1302048000000,8.21762],[1302134400000,8.27366],[1302220800000,8.35609],[1302307200000,8.38019],[1302393600000,8.38019],[1302480000000,8.38019],[1302566400000,8.39047],[1302652800000,8.36453],[1302739200000,8.36102],[1302825600000,8.36449],[1302912000000,8.385],[1302998400000,8.385],[1303084800000,8.385],[1303171200000,8.38013],[1303257600000,8.36303],[1303344000000,8.49444],[1303430400000,8.56565],[1303516800000,8.56565],[1303603200000,8.56565],[1303689600000,8.56565],[1303776000000,8.56565],[1303862400000,8.56672],[1303948800000,8.61435],[1304035200000,8.67364],[1304121600000,8.72893]], 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: [[1301616000000, 8.232944],[1301616000000, 8.232944],[1301702400000, 8.246931],[1301788800000, 8.246931],[1301875200000, 8.246931],[1301961600000, 8.262977],[1302048000000, 8.217621],[1302134400000, 8.273660],[1302220800000, 8.356090],[1302307200000, 8.380189],[1302393600000, 8.380189],[1302480000000, 8.380189],[1302566400000, 8.390474],[1302652800000, 8.364527],[1302739200000, 8.361015],[1302825600000, 8.364485],[1302912000000, 8.384999],[1302998400000, 8.384999],[1303084800000, 8.384999],[1303171200000, 8.380135],[1303257600000, 8.363027],[1303344000000, 8.494437],[1303430400000, 8.565654],[1303516800000, 8.565654],[1303603200000, 8.565654],[1303689600000, 8.565654],[1303776000000, 8.565654],[1303862400000, 8.566717],[1303948800000, 8.614354],[1304035200000, 8.673644],[1304121600000, 8.728935]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });