$(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: 'Курс AUD, грн'}, 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: 'Курс AUD', data: [[1151712000000,3.75069],[1151798400000,3.75069],[1151884800000,3.75069],[1151971200000,3.75215],[1152057600000,3.76645],[1152144000000,3.7625],[1152230400000,3.74843],[1152316800000,3.77472],[1152403200000,3.77472],[1152489600000,3.77472],[1152576000000,3.77942],[1152662400000,3.79562],[1152748800000,3.80605],[1152835200000,3.80903],[1152921600000,3.80598],[1153008000000,3.80598],[1153094400000,3.80598],[1153180800000,3.78034],[1153267200000,3.79295],[1153353600000,3.75964],[1153440000000,3.79388],[1153526400000,3.80408],[1153612800000,3.80408],[1153699200000,3.80408],[1153785600000,3.80353],[1153872000000,3.8149],[1153958400000,3.82941],[1154044800000,3.85831],[1154131200000,3.84057],[1154217600000,3.84057],[1154304000000,3.84057]], 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, 3.750695],[1151712000000, 3.750695],[1151798400000, 3.750695],[1151884800000, 3.750695],[1151971200000, 3.752149],[1152057600000, 3.766446],[1152144000000, 3.762503],[1152230400000, 3.748426],[1152316800000, 3.774724],[1152403200000, 3.774724],[1152489600000, 3.774724],[1152576000000, 3.779424],[1152662400000, 3.795621],[1152748800000, 3.806049],[1152835200000, 3.809033],[1152921600000, 3.805980],[1153008000000, 3.805980],[1153094400000, 3.805980],[1153180800000, 3.780341],[1153267200000, 3.792948],[1153353600000, 3.759639],[1153440000000, 3.793877],[1153526400000, 3.804075],[1153612800000, 3.804075],[1153699200000, 3.804075],[1153785600000, 3.803532],[1153872000000, 3.814898],[1153958400000, 3.829408],[1154044800000, 3.858308],[1154131200000, 3.840572],[1154217600000, 3.840572],[1154304000000, 3.840572]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });