$(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: 'Курс GBP, грн'}, 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: 'Курс GBP', data: [[1088640000000,9.64064],[1088726400000,9.66444],[1088812800000,9.66444],[1088899200000,9.66444],[1088985600000,9.74958],[1089072000000,9.74958],[1089158400000,9.78338],[1089244800000,9.85081],[1089331200000,9.84595],[1089417600000,9.84595],[1089504000000,9.84595],[1089590400000,9.84595],[1089676800000,9.89927],[1089763200000,9.88343],[1089849600000,9.85528],[1089936000000,9.85528],[1090022400000,9.88556],[1090108800000,9.88556],[1090195200000,9.88556],[1090281600000,9.94494],[1090368000000,9.87494],[1090454400000,9.797],[1090540800000,9.77284],[1090627200000,9.77284],[1090713600000,9.77284],[1090800000000,9.77284],[1090886400000,9.7865],[1090972800000,9.7865],[1091059200000,9.64257],[1091145600000,9.65846],[1091232000000,9.65846]], 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, 9.640640],[1088640000000, 9.640640],[1088726400000, 9.664440],[1088812800000, 9.664440],[1088899200000, 9.664440],[1088985600000, 9.749580],[1089072000000, 9.749580],[1089158400000, 9.783380],[1089244800000, 9.850810],[1089331200000, 9.845950],[1089417600000, 9.845950],[1089504000000, 9.845950],[1089590400000, 9.845950],[1089676800000, 9.899270],[1089763200000, 9.883430],[1089849600000, 9.855280],[1089936000000, 9.855280],[1090022400000, 9.885560],[1090108800000, 9.885560],[1090195200000, 9.885560],[1090281600000, 9.944940],[1090368000000, 9.874940],[1090454400000, 9.797000],[1090540800000, 9.772840],[1090627200000, 9.772840],[1090713600000, 9.772840],[1090800000000, 9.772840],[1090886400000, 9.786500],[1090972800000, 9.786500],[1091059200000, 9.642570],[1091145600000, 9.658460],[1091232000000, 9.658460]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });