$(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: 'Курс RUB, грн'}, 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: 'Курс RUB', data: [[1362096000000,0.26196],[1362182400000,0.26088],[1362268800000,0.26088],[1362355200000,0.26088],[1362441600000,0.25962],[1362528000000,0.26039],[1362614400000,0.26103],[1362700800000,0.25983],[1362787200000,0.25983],[1362873600000,0.25983],[1362960000000,0.25983],[1363046400000,0.25987],[1363132800000,0.25994],[1363219200000,0.26018],[1363305600000,0.25971],[1363392000000,0.26019],[1363478400000,0.26019],[1363564800000,0.26019],[1363651200000,0.25875],[1363737600000,0.25927],[1363824000000,0.2583],[1363910400000,0.25874],[1363996800000,0.2584],[1364083200000,0.2584],[1364169600000,0.2584],[1364256000000,0.25986],[1364342400000,0.2589],[1364428800000,0.25898],[1364515200000,0.25787],[1364601600000,0.25715],[1364688000000,0.25715]], 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, 0.261960],[1362096000000, 0.261960],[1362182400000, 0.260880],[1362268800000, 0.260880],[1362355200000, 0.260880],[1362441600000, 0.259620],[1362528000000, 0.260390],[1362614400000, 0.261030],[1362700800000, 0.259830],[1362787200000, 0.259830],[1362873600000, 0.259830],[1362960000000, 0.259830],[1363046400000, 0.259870],[1363132800000, 0.259940],[1363219200000, 0.260180],[1363305600000, 0.259710],[1363392000000, 0.260190],[1363478400000, 0.260190],[1363564800000, 0.260190],[1363651200000, 0.258750],[1363737600000, 0.259270],[1363824000000, 0.258300],[1363910400000, 0.258740],[1363996800000, 0.258400],[1364083200000, 0.258400],[1364169600000, 0.258400],[1364256000000, 0.259860],[1364342400000, 0.258900],[1364428800000, 0.258980],[1364515200000, 0.257870],[1364601600000, 0.257150],[1364688000000, 0.257150]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });