$(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: [[1254355200000,11.7203],[1254441600000,11.6443],[1254528000000,11.6441],[1254614400000,11.6441],[1254700800000,11.6441],[1254787200000,11.7074],[1254873600000,11.7923],[1254960000000,11.7699],[1255046400000,11.8252],[1255132800000,11.8148],[1255219200000,11.8148],[1255305600000,11.8148],[1255392000000,11.8268],[1255478400000,11.9004],[1255564800000,11.9018],[1255651200000,11.8615],[1255737600000,11.8506],[1255824000000,11.8506],[1255910400000,11.8506],[1255996800000,11.8896],[1256083200000,11.9469],[1256169600000,11.9264],[1256256000000,12.0075],[1256342400000,12.013],[1256428800000,12.013],[1256515200000,12.013],[1256601600000,12.0134],[1256688000000,11.9105],[1256774400000,11.8392],[1256860800000,11.8304],[1256947200000,11.8296]], 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, 11.720257],[1254355200000, 11.720257],[1254441600000, 11.644285],[1254528000000, 11.644137],[1254614400000, 11.644137],[1254700800000, 11.644137],[1254787200000, 11.707416],[1254873600000, 11.792322],[1254960000000, 11.769894],[1255046400000, 11.825163],[1255132800000, 11.814750],[1255219200000, 11.814750],[1255305600000, 11.814750],[1255392000000, 11.826765],[1255478400000, 11.900416],[1255564800000, 11.901824],[1255651200000, 11.861472],[1255737600000, 11.850593],[1255824000000, 11.850593],[1255910400000, 11.850593],[1255996800000, 11.889646],[1256083200000, 11.946858],[1256169600000, 11.926355],[1256256000000, 12.007500],[1256342400000, 12.012996],[1256428800000, 12.012996],[1256515200000, 12.012996],[1256601600000, 12.013398],[1256688000000, 11.910504],[1256774400000, 11.839237],[1256860800000, 11.830400],[1256947200000, 11.829640]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });