$(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: 'Курс DKK, грн'}, 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: 'Курс DKK', data: [[1346457600000,1.35278],[1346544000000,1.35278],[1346630400000,1.35278],[1346716800000,1.34819],[1346803200000,1.3494],[1346889600000,1.34931],[1346976000000,1.35566],[1347062400000,1.36282],[1347148800000,1.36282],[1347235200000,1.36282],[1347321600000,1.37033],[1347408000000,1.37149],[1347494400000,1.38283],[1347580800000,1.38443],[1347667200000,1.40391],[1347753600000,1.40391],[1347840000000,1.40391],[1347926400000,1.403],[1348012800000,1.39981],[1348099200000,1.39412],[1348185600000,1.3889],[1348272000000,1.39255],[1348358400000,1.39255],[1348444800000,1.39255],[1348531200000,1.38457],[1348617600000,1.38625],[1348704000000,1.37699],[1348790400000,1.38012],[1348876800000,1.38622],[1348963200000,1.38622]], 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, 1.352780],[1346457600000, 1.352780],[1346544000000, 1.352780],[1346630400000, 1.352780],[1346716800000, 1.348186],[1346803200000, 1.349402],[1346889600000, 1.349313],[1346976000000, 1.355658],[1347062400000, 1.362825],[1347148800000, 1.362825],[1347235200000, 1.362825],[1347321600000, 1.370333],[1347408000000, 1.371494],[1347494400000, 1.382833],[1347580800000, 1.384427],[1347667200000, 1.403908],[1347753600000, 1.403908],[1347840000000, 1.403908],[1347926400000, 1.402999],[1348012800000, 1.399812],[1348099200000, 1.394124],[1348185600000, 1.388903],[1348272000000, 1.392548],[1348358400000, 1.392548],[1348444800000, 1.392548],[1348531200000, 1.384569],[1348617600000, 1.386247],[1348704000000, 1.376994],[1348790400000, 1.380122],[1348876800000, 1.386218],[1348963200000, 1.386218]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });