$(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: [[1101859200000,4.11418],[1101945600000,4.09263],[1102032000000,4.13841],[1102118400000,4.1021],[1102204800000,4.1021],[1102291200000,4.1021],[1102377600000,4.11836],[1102464000000,4.12265],[1102550400000,4.01291],[1102636800000,4.00236],[1102723200000,null],[1102809600000,null],[1102896000000,null],[1102982400000,4.02171],[1103068800000,4.0391],[1103155200000,4.04363],[1103241600000,4.05947],[1103328000000,4.0264],[1103414400000,4.0264],[1103500800000,4.0264],[1103587200000,4.05235],[1103673600000,4.06649],[1103760000000,4.07137],[1103846400000,4.06114],[1103932800000,4.08547],[1104019200000,4.08547],[1104105600000,4.08547],[1104192000000,4.09515],[1104278400000,4.13455],[1104364800000,4.13106],[1104451200000,4.1151]], 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: [[1101859200000, 4.114185],[1101859200000, 4.114185],[1101945600000, 4.092633],[1102032000000, 4.138407],[1102118400000, 4.102096],[1102204800000, 4.102096],[1102291200000, 4.102096],[1102377600000, 4.118359],[1102464000000, 4.122653],[1102550400000, 4.012915],[1102636800000, 4.002362],[1102982400000, 4.021709],[1103068800000, 4.039099],[1103155200000, 4.043631],[1103241600000, 4.059472],[1103328000000, 4.026401],[1103414400000, 4.026401],[1103500800000, 4.026401],[1103587200000, 4.052352],[1103673600000, 4.066485],[1103760000000, 4.071370],[1103846400000, 4.061140],[1103932800000, 4.085469],[1104019200000, 4.085469],[1104105600000, 4.085469],[1104192000000, 4.095148],[1104278400000, 4.134551],[1104364800000, 4.131064],[1104451200000, 4.115096]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });