$(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: [[1117584000000,3.81823],[1117670400000,3.78128],[1117756800000,3.80187],[1117843200000,3.82494],[1117929600000,3.82494],[1118016000000,3.82494],[1118102400000,3.85215],[1118188800000,3.87887],[1118275200000,3.89045],[1118361600000,3.87985],[1118448000000,3.87522],[1118534400000,3.87522],[1118620800000,3.87522],[1118707200000,3.84448],[1118793600000,3.86709],[1118880000000,3.87185],[1118966400000,null],[1119052800000,3.92819],[1119139200000,3.92819],[1119225600000,3.92819],[1119312000000,null],[1119398400000,3.91401],[1119484800000,3.92418],[1119571200000,3.9116],[1119657600000,3.90327],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,3.8497]], 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: [[1117584000000, 3.818232],[1117584000000, 3.818232],[1117670400000, 3.781277],[1117756800000, 3.801868],[1117843200000, 3.824943],[1117929600000, 3.824943],[1118016000000, 3.824943],[1118102400000, 3.852146],[1118188800000, 3.878868],[1118275200000, 3.890453],[1118361600000, 3.879854],[1118448000000, 3.875225],[1118534400000, 3.875225],[1118620800000, 3.875225],[1118707200000, 3.844477],[1118793600000, 3.867091],[1118880000000, 3.871853],[1119052800000, 3.928190],[1119139200000, 3.928190],[1119225600000, 3.928190],[1119398400000, 3.914008],[1119484800000, 3.924178],[1119571200000, 3.911603],[1119657600000, 3.903273],[1120089600000, 3.849695]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });