$(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: [[1359676800000,8.3254],[1359763200000,8.30464],[1359849600000,8.30464],[1359936000000,8.30464],[1360022400000,8.33881],[1360108800000,8.30401],[1360195200000,8.24177],[1360281600000,8.2431],[1360368000000,8.2598],[1360454400000,8.2598],[1360540800000,8.2598],[1360627200000,8.21508],[1360713600000,8.19485],[1360800000000,8.26524],[1360886400000,8.27104],[1360972800000,8.25954],[1361059200000,8.25954],[1361145600000,8.25954],[1361232000000,8.24367],[1361318400000,8.268],[1361404800000,8.24523],[1361491200000,8.19626],[1361577600000,8.25791],[1361664000000,8.25791],[1361750400000,8.25791],[1361836800000,8.24524],[1361923200000,8.18965],[1362009600000,8.15171]], 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: [[1359676800000, 8.325402],[1359676800000, 8.325402],[1359763200000, 8.304637],[1359849600000, 8.304637],[1359936000000, 8.304637],[1360022400000, 8.338810],[1360108800000, 8.304009],[1360195200000, 8.241771],[1360281600000, 8.243105],[1360368000000, 8.259804],[1360454400000, 8.259804],[1360540800000, 8.259804],[1360627200000, 8.215079],[1360713600000, 8.194853],[1360800000000, 8.265238],[1360886400000, 8.271039],[1360972800000, 8.259537],[1361059200000, 8.259537],[1361145600000, 8.259537],[1361232000000, 8.243669],[1361318400000, 8.268001],[1361404800000, 8.245229],[1361491200000, 8.196259],[1361577600000, 8.257909],[1361664000000, 8.257909],[1361750400000, 8.257909],[1361836800000, 8.245241],[1361923200000, 8.189647],[1362009600000, 8.151715]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });