$(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: [[1151712000000,6.42007],[1151798400000,6.42007],[1151884800000,6.42007],[1151971200000,6.45895],[1152057600000,6.45946],[1152144000000,6.46097],[1152230400000,6.43117],[1152316800000,6.45289],[1152403200000,6.45289],[1152489600000,6.45289],[1152576000000,6.43976],[1152662400000,6.43168],[1152748800000,6.42461],[1152835200000,6.40946],[1152921600000,6.39633],[1153008000000,6.39633],[1153094400000,6.39633],[1153180800000,6.33321],[1153267200000,6.32815],[1153353600000,6.30341],[1153440000000,6.38471],[1153526400000,6.4034],[1153612800000,6.4034],[1153699200000,6.4034],[1153785600000,6.37967],[1153872000000,6.38118],[1153958400000,6.35644],[1154044800000,6.43218],[1154131200000,6.39532],[1154217600000,6.39532],[1154304000000,6.39532]], 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: [[1151712000000, 6.420065],[1151712000000, 6.420065],[1151798400000, 6.420065],[1151884800000, 6.420065],[1151971200000, 6.458950],[1152057600000, 6.459455],[1152144000000, 6.460970],[1152230400000, 6.431175],[1152316800000, 6.452890],[1152403200000, 6.452890],[1152489600000, 6.452890],[1152576000000, 6.439760],[1152662400000, 6.431680],[1152748800000, 6.424610],[1152835200000, 6.409460],[1152921600000, 6.396330],[1153008000000, 6.396330],[1153094400000, 6.396330],[1153180800000, 6.333205],[1153267200000, 6.328155],[1153353600000, 6.303410],[1153440000000, 6.384715],[1153526400000, 6.403400],[1153612800000, 6.403400],[1153699200000, 6.403400],[1153785600000, 6.379665],[1153872000000, 6.381180],[1153958400000, 6.356435],[1154044800000, 6.432185],[1154131200000, 6.395320],[1154217600000, 6.395320],[1154304000000, 6.395320]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });