$(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: 'Курс BYN, грн'}, 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: 'Курс BYN', data: [[1346457600000,0.00095],[1346544000000,0.00095],[1346630400000,0.00095],[1346716800000,0.00095],[1346803200000,0.00095],[1346889600000,0.00095],[1346976000000,0.00095],[1347062400000,0.00095],[1347148800000,0.00095],[1347235200000,0.00095],[1347321600000,0.00095],[1347408000000,0.00095],[1347494400000,0.00095],[1347580800000,0.00095],[1347667200000,0.00095],[1347753600000,0.00095],[1347840000000,0.00095],[1347926400000,0.00095],[1348012800000,0.00095],[1348099200000,0.00095],[1348185600000,0.00095],[1348272000000,0.00095],[1348358400000,0.00095],[1348444800000,0.00095],[1348531200000,0.00094],[1348617600000,0.00094],[1348704000000,0.00094],[1348790400000,0.00095],[1348876800000,0.00094],[1348963200000,0.00094]], 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: [[1346457600000, 0.000950],[1346457600000, 0.000950],[1346544000000, 0.000950],[1346630400000, 0.000950],[1346716800000, 0.000950],[1346803200000, 0.000950],[1346889600000, 0.000950],[1346976000000, 0.000950],[1347062400000, 0.000950],[1347148800000, 0.000950],[1347235200000, 0.000950],[1347321600000, 0.000950],[1347408000000, 0.000950],[1347494400000, 0.000950],[1347580800000, 0.000950],[1347667200000, 0.000950],[1347753600000, 0.000950],[1347840000000, 0.000950],[1347926400000, 0.000950],[1348012800000, 0.000950],[1348099200000, 0.000950],[1348185600000, 0.000950],[1348272000000, 0.000950],[1348358400000, 0.000950],[1348444800000, 0.000950],[1348531200000, 0.000940],[1348617600000, 0.000940],[1348704000000, 0.000940],[1348790400000, 0.000950],[1348876800000, 0.000940],[1348963200000, 0.000940]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });