$(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: 'Курс LTL, грн'}, 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: 'Курс LTL', data: [[1328054400000,3.0489],[1328140800000,3.04867],[1328227200000,3.02992],[1328313600000,3.04519],[1328400000000,3.04519],[1328486400000,3.04519],[1328572800000,3.01789],[1328659200000,3.03432],[1328745600000,3.07165],[1328832000000,3.07489],[1328918400000,3.05198],[1329004800000,3.05198],[1329091200000,3.05198],[1329177600000,3.06618],[1329264000000,3.04667],[1329350400000,3.02885],[1329436800000,3.00318],[1329523200000,3.04443],[1329609600000,3.04443],[1329696000000,3.04443],[1329782400000,3.06888],[1329868800000,3.05866],[1329955200000,3.0604],[1330041600000,3.07655],[1330128000000,3.10238],[1330214400000,3.10238],[1330300800000,3.10238],[1330387200000,3.09679],[1330473600000,3.11206]], 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: [[1328054400000, 3.048896],[1328054400000, 3.048896],[1328140800000, 3.048665],[1328227200000, 3.029922],[1328313600000, 3.045194],[1328400000000, 3.045194],[1328486400000, 3.045194],[1328572800000, 3.017889],[1328659200000, 3.034318],[1328745600000, 3.071650],[1328832000000, 3.074890],[1328918400000, 3.051981],[1329004800000, 3.051981],[1329091200000, 3.051981],[1329177600000, 3.066177],[1329264000000, 3.046666],[1329350400000, 3.028852],[1329436800000, 3.003178],[1329523200000, 3.044429],[1329609600000, 3.044429],[1329696000000, 3.044429],[1329782400000, 3.068877],[1329868800000, 3.058660],[1329955200000, 3.060395],[1330041600000, 3.076549],[1330128000000, 3.102380],[1330214400000, 3.102380],[1330300800000, 3.102380],[1330387200000, 3.096789],[1330473600000, 3.112056]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });