$(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: [[1367366400000,14.9264],[1367452800000,14.9264],[1367539200000,14.9264],[1367625600000,14.9264],[1367712000000,14.9264],[1367798400000,14.9264],[1367884800000,14.9264],[1367971200000,14.962],[1368057600000,14.9983],[1368144000000,14.9983],[1368230400000,14.9983],[1368316800000,14.9983],[1368403200000,14.9983],[1368489600000,14.8175],[1368576000000,14.8327],[1368662400000,14.7015],[1368748800000,14.7354],[1368835200000,14.7093],[1368921600000,14.7093],[1369008000000,14.7093],[1369094400000,14.6826],[1369180800000,14.6932],[1369267200000,14.752],[1369353600000,14.7058],[1369440000000,14.7682],[1369526400000,14.7682],[1369612800000,14.7682],[1369699200000,14.7471],[1369785600000,14.7481],[1369872000000,14.7619],[1369958400000,14.7507]], 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: [[1367366400000, 14.926357],[1367366400000, 14.926357],[1367452800000, 14.926357],[1367539200000, 14.926357],[1367625600000, 14.926357],[1367712000000, 14.926357],[1367798400000, 14.926357],[1367884800000, 14.926357],[1367971200000, 14.962047],[1368057600000, 14.998294],[1368144000000, 14.998294],[1368230400000, 14.998294],[1368316800000, 14.998294],[1368403200000, 14.998294],[1368489600000, 14.817546],[1368576000000, 14.832713],[1368662400000, 14.701452],[1368748800000, 14.735379],[1368835200000, 14.709269],[1368921600000, 14.709269],[1369008000000, 14.709269],[1369094400000, 14.682582],[1369180800000, 14.693233],[1369267200000, 14.752005],[1369353600000, 14.705751],[1369440000000, 14.768160],[1369526400000, 14.768160],[1369612800000, 14.768160],[1369699200000, 14.747102],[1369785600000, 14.748065],[1369872000000, 14.761919],[1369958400000, 14.750697]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });