$(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: [[1362096000000,3.03927],[1362182400000,3.00941],[1362268800000,3.00941],[1362355200000,3.00941],[1362441600000,3.01103],[1362528000000,3.01728],[1362614400000,3.01751],[1362700800000,3.01173],[1362787200000,3.01173],[1362873600000,3.01173],[1362960000000,3.01173],[1363046400000,3.00802],[1363132800000,3.02168],[1363219200000,3.00501],[1363305600000,2.99483],[1363392000000,3.02932],[1363478400000,3.02932],[1363564800000,3.02932],[1363651200000,2.99298],[1363737600000,2.99645],[1363824000000,2.99668],[1363910400000,2.98858],[1363996800000,2.99737],[1364083200000,2.99737],[1364169600000,2.99737],[1364256000000,2.99437],[1364342400000,2.97723],[1364428800000,2.95571],[1364515200000,2.96427],[1364601600000,2.96427],[1364688000000,2.96427]], 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: [[1362096000000, 3.039275],[1362096000000, 3.039275],[1362182400000, 3.009413],[1362268800000, 3.009413],[1362355200000, 3.009413],[1362441600000, 3.011033],[1362528000000, 3.017283],[1362614400000, 3.017515],[1362700800000, 3.011728],[1362787200000, 3.011728],[1362873600000, 3.011728],[1362960000000, 3.011728],[1363046400000, 3.008024],[1363132800000, 3.021682],[1363219200000, 3.005014],[1363305600000, 2.994829],[1363392000000, 3.029321],[1363478400000, 3.029321],[1363564800000, 3.029321],[1363651200000, 2.992977],[1363737600000, 2.996449],[1363824000000, 2.996681],[1363910400000, 2.988578],[1363996800000, 2.997375],[1364083200000, 2.997375],[1364169600000, 2.997375],[1364256000000, 2.994366],[1364342400000, 2.977235],[1364428800000, 2.955706],[1364515200000, 2.964271],[1364601600000, 2.964271],[1364688000000, 2.964271]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });