$(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: [[1254355200000,16.5564],[1254441600000,16.4398],[1254528000000,16.4396],[1254614400000,16.4396],[1254700800000,16.4396],[1254787200000,16.5266],[1254873600000,16.63],[1254960000000,16.603],[1255046400000,16.6669],[1255132800000,16.6546],[1255219200000,16.6546],[1255305600000,16.6546],[1255392000000,16.6739],[1255478400000,16.7848],[1255564800000,16.7868],[1255651200000,16.7346],[1255737600000,16.7452],[1255824000000,16.7452],[1255910400000,16.7452],[1255996800000,16.7933],[1256083200000,16.8789],[1256169600000,16.8214],[1256256000000,16.9478],[1256342400000,16.9436],[1256428800000,16.9436],[1256515200000,16.9436],[1256601600000,16.9394],[1256688000000,16.7919],[1256774400000,16.6914],[1256860800000,16.686],[1256947200000,16.6826]], 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: [[1254355200000, 16.556374],[1254355200000, 16.556374],[1254441600000, 16.439764],[1254528000000, 16.439555],[1254614400000, 16.439555],[1254700800000, 16.439555],[1254787200000, 16.526561],[1254873600000, 16.629984],[1254960000000, 16.603039],[1255046400000, 16.666896],[1255132800000, 16.654567],[1255219200000, 16.654567],[1255305600000, 16.654567],[1255392000000, 16.673855],[1255478400000, 16.784789],[1255564800000, 16.786775],[1255651200000, 16.734582],[1255737600000, 16.745221],[1255824000000, 16.745221],[1255910400000, 16.745221],[1255996800000, 16.793285],[1256083200000, 16.878861],[1256169600000, 16.821376],[1256256000000, 16.947777],[1256342400000, 16.943577],[1256428800000, 16.943577],[1256515200000, 16.943577],[1256601600000, 16.939365],[1256688000000, 16.791913],[1256774400000, 16.691437],[1256860800000, 16.686037],[1256947200000, 16.682612]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });