$(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: [[1351728000000,8.28968],[1351814400000,8.30271],[1351900800000,8.30047],[1351987200000,8.30047],[1352073600000,8.30047],[1352160000000,8.2774],[1352246400000,8.34302],[1352332800000,8.3316],[1352419200000,8.3237],[1352505600000,8.28203],[1352592000000,8.28203],[1352678400000,8.28203],[1352764800000,8.34351],[1352851200000,8.32683],[1352937600000,8.32601],[1353024000000,8.25577],[1353110400000,8.25734],[1353196800000,8.25734],[1353283200000,8.25734],[1353369600000,8.3047],[1353456000000,8.30284],[1353542400000,8.28211],[1353628800000,8.2974],[1353715200000,8.3258],[1353801600000,8.3258],[1353888000000,8.3258],[1353974400000,8.34578],[1354060800000,8.37353],[1354147200000,8.35058],[1354233600000,8.35433]], 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: [[1351728000000, 8.289675],[1351728000000, 8.289675],[1351814400000, 8.302712],[1351900800000, 8.300473],[1351987200000, 8.300473],[1352073600000, 8.300473],[1352160000000, 8.277400],[1352246400000, 8.343016],[1352332800000, 8.331598],[1352419200000, 8.323700],[1352505600000, 8.282029],[1352592000000, 8.282029],[1352678400000, 8.282029],[1352764800000, 8.343513],[1352851200000, 8.326834],[1352937600000, 8.326014],[1353024000000, 8.255766],[1353110400000, 8.257338],[1353196800000, 8.257338],[1353283200000, 8.257338],[1353369600000, 8.304703],[1353456000000, 8.302841],[1353542400000, 8.282114],[1353628800000, 8.297403],[1353715200000, 8.325800],[1353801600000, 8.325800],[1353888000000, 8.325800],[1353974400000, 8.345784],[1354060800000, 8.373527],[1354147200000, 8.350576],[1354233600000, 8.354331]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });