$(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: [[1220227200000,0.957479],[1220313600000,0.950368],[1220400000000,0.944134],[1220486400000,0.939422],[1220572800000,0.942465],[1220659200000,0.926883],[1220745600000,0.926883],[1220832000000,0.926883],[1220918400000,0.924707],[1221004800000,0.920197],[1221091200000,0.91694],[1221177600000,0.906752],[1221264000000,0.915334],[1221350400000,0.915334],[1221436800000,0.915334],[1221523200000,0.92066],[1221609600000,0.928005],[1221696000000,0.924973],[1221782400000,0.943013],[1221868800000,0.925734],[1221955200000,0.925734],[1222041600000,0.925734],[1222128000000,0.947497],[1222214400000,0.958732],[1222300800000,0.957049],[1222387200000,0.958003],[1222473600000,0.95386],[1222560000000,0.95386],[1222646400000,0.95386],[1222732800000,0.934956]], 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: [[1220227200000, 0.957479],[1220227200000, 0.957479],[1220313600000, 0.950368],[1220400000000, 0.944134],[1220486400000, 0.939422],[1220572800000, 0.942465],[1220659200000, 0.926883],[1220745600000, 0.926883],[1220832000000, 0.926883],[1220918400000, 0.924707],[1221004800000, 0.920197],[1221091200000, 0.916940],[1221177600000, 0.906752],[1221264000000, 0.915334],[1221350400000, 0.915334],[1221436800000, 0.915334],[1221523200000, 0.920660],[1221609600000, 0.928005],[1221696000000, 0.924973],[1221782400000, 0.943013],[1221868800000, 0.925734],[1221955200000, 0.925734],[1222041600000, 0.925734],[1222128000000, 0.947497],[1222214400000, 0.958732],[1222300800000, 0.957049],[1222387200000, 0.958003],[1222473600000, 0.953860],[1222560000000, 0.953860],[1222646400000, 0.953860],[1222732800000, 0.934956]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });