$(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: 'Курс EUR, грн'}, 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: 'Курс EUR', data: [[1088640000000,6.46646],[1088726400000,6.46262],[1088812800000,6.46262],[1088899200000,6.46262],[1088985600000,6.53709],[1089072000000,6.53709],[1089158400000,6.54802],[1089244800000,6.56852],[1089331200000,6.58054],[1089417600000,6.58054],[1089504000000,6.58054],[1089590400000,6.58054],[1089676800000,6.58005],[1089763200000,6.58434],[1089849600000,6.58037],[1089936000000,6.58037],[1090022400000,6.56895],[1090108800000,6.56895],[1090195200000,6.56895],[1090281600000,6.59946],[1090368000000,6.5851],[1090454400000,6.53754],[1090540800000,6.48135],[1090627200000,6.48135],[1090713600000,6.48135],[1090800000000,6.48135],[1090886400000,6.46887],[1090972800000,6.46887],[1091059200000,6.39302],[1091145600000,6.39921],[1091232000000,6.39921]], 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: [[1088640000000, 6.466460],[1088640000000, 6.466460],[1088726400000, 6.462620],[1088812800000, 6.462620],[1088899200000, 6.462620],[1088985600000, 6.537090],[1089072000000, 6.537090],[1089158400000, 6.548020],[1089244800000, 6.568520],[1089331200000, 6.580540],[1089417600000, 6.580540],[1089504000000, 6.580540],[1089590400000, 6.580540],[1089676800000, 6.580050],[1089763200000, 6.584340],[1089849600000, 6.580370],[1089936000000, 6.580370],[1090022400000, 6.568950],[1090108800000, 6.568950],[1090195200000, 6.568950],[1090281600000, 6.599460],[1090368000000, 6.585100],[1090454400000, 6.537540],[1090540800000, 6.481350],[1090627200000, 6.481350],[1090713600000, 6.481350],[1090800000000, 6.481350],[1090886400000, 6.468870],[1090972800000, 6.468870],[1091059200000, 6.393020],[1091145600000, 6.399210],[1091232000000, 6.399210]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });