$(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: 'Курс LVL, грн'}, 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: 'Курс LVL', data: [[1141171200000,8.51602],[1141257600000,8.57385],[1141344000000,8.57385],[1141430400000,8.63248],[1141516800000,8.63248],[1141603200000,8.63248],[1141689600000,8.67698],[1141776000000,8.60307],[1141862400000,8.60307],[1141948800000,8.55932],[1142035200000,8.55932],[1142121600000,8.55932],[1142208000000,8.55932],[1142294400000,8.57385],[1142380800000,8.60307],[1142467200000,8.64726],[1142553600000,8.66209],[1142640000000,8.73702],[1142726400000,8.73702],[1142812800000,8.73702],[1142899200000,8.73702],[1142985600000,8.72193],[1143072000000,8.69191],[1143158400000,8.66209],[1143244800000,8.60307],[1143331200000,8.60307],[1143417600000,8.60307],[1143504000000,8.66209],[1143590400000,8.63248],[1143676800000,8.63248],[1143763200000,8.67698]], 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: [[1141171200000, 8.516020],[1141171200000, 8.516020],[1141257600000, 8.573854],[1141344000000, 8.573854],[1141430400000, 8.632479],[1141516800000, 8.632479],[1141603200000, 8.632479],[1141689600000, 8.676976],[1141776000000, 8.603066],[1141862400000, 8.603066],[1141948800000, 8.559322],[1142035200000, 8.559322],[1142121600000, 8.559322],[1142208000000, 8.559322],[1142294400000, 8.573854],[1142380800000, 8.603066],[1142467200000, 8.647260],[1142553600000, 8.662093],[1142640000000, 8.737024],[1142726400000, 8.737024],[1142812800000, 8.737024],[1142899200000, 8.737024],[1142985600000, 8.721934],[1143072000000, 8.691910],[1143158400000, 8.662093],[1143244800000, 8.603066],[1143331200000, 8.603066],[1143417600000, 8.603066],[1143504000000, 8.662093],[1143590400000, 8.632479],[1143676800000, 8.632479],[1143763200000, 8.676976]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });