$(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: [[1364774400000,8.31576],[1364860800000,8.31576],[1364947200000,8.36636],[1365033600000,8.37903],[1365120000000,8.33639],[1365206400000,8.32687],[1365292800000,8.32687],[1365379200000,8.32687],[1365465600000,8.32543],[1365552000000,8.37246],[1365638400000,8.41551],[1365724800000,8.44897],[1365811200000,8.41599],[1365897600000,8.41599],[1365984000000,8.41599],[1366070400000,8.31595],[1366156800000,8.29304],[1366243200000,8.26886],[1366329600000,8.25368],[1366416000000,8.25939],[1366502400000,8.25939],[1366588800000,8.25939],[1366675200000,8.20768],[1366761600000,8.191],[1366848000000,8.2121],[1366934400000,8.2523],[1367020800000,8.21287],[1367107200000,8.21287],[1367193600000,8.21287],[1367280000000,8.27182]], 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: [[1364774400000, 8.315759],[1364774400000, 8.315759],[1364860800000, 8.315759],[1364947200000, 8.366359],[1365033600000, 8.379031],[1365120000000, 8.336393],[1365206400000, 8.326873],[1365292800000, 8.326873],[1365379200000, 8.326873],[1365465600000, 8.325429],[1365552000000, 8.372457],[1365638400000, 8.415512],[1365724800000, 8.448970],[1365811200000, 8.415992],[1365897600000, 8.415992],[1365984000000, 8.415992],[1366070400000, 8.315949],[1366156800000, 8.293038],[1366243200000, 8.268860],[1366329600000, 8.253676],[1366416000000, 8.259391],[1366502400000, 8.259391],[1366588800000, 8.259391],[1366675200000, 8.207683],[1366761600000, 8.190996],[1366848000000, 8.212099],[1366934400000, 8.252304],[1367020800000, 8.212869],[1367107200000, 8.212869],[1367193600000, 8.212869],[1367280000000, 8.271818]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });