$(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: 'Курс CZK, грн'}, 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: 'Курс CZK', data: [[1259625600000,0.459157],[1259712000000,0.464082],[1259798400000,0.464256],[1259884800000,0.46807],[1259971200000,0.465533],[1260057600000,0.465533],[1260144000000,0.465533],[1260230400000,0.459054],[1260316800000,0.457984],[1260403200000,0.458055],[1260489600000,0.457659],[1260576000000,0.457893],[1260662400000,0.457893],[1260748800000,0.457893],[1260835200000,0.454231],[1260921600000,0.444123],[1261008000000,0.440403],[1261094400000,0.4379],[1261180800000,0.434719],[1261267200000,0.434719],[1261353600000,0.434719],[1261440000000,0.434403],[1261526400000,0.433219],[1261612800000,0.430827],[1261699200000,0.434054],[1261785600000,0.434027],[1261872000000,0.434027],[1261958400000,0.434027],[1262044800000,0.434309],[1262131200000,0.435427],[1262217600000,0.43367]], 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: [[1259625600000, 0.459157],[1259625600000, 0.459157],[1259712000000, 0.464082],[1259798400000, 0.464256],[1259884800000, 0.468070],[1259971200000, 0.465533],[1260057600000, 0.465533],[1260144000000, 0.465533],[1260230400000, 0.459054],[1260316800000, 0.457984],[1260403200000, 0.458055],[1260489600000, 0.457659],[1260576000000, 0.457893],[1260662400000, 0.457893],[1260748800000, 0.457893],[1260835200000, 0.454231],[1260921600000, 0.444123],[1261008000000, 0.440403],[1261094400000, 0.437900],[1261180800000, 0.434719],[1261267200000, 0.434719],[1261353600000, 0.434719],[1261440000000, 0.434403],[1261526400000, 0.433219],[1261612800000, 0.430827],[1261699200000, 0.434054],[1261785600000, 0.434027],[1261872000000, 0.434027],[1261958400000, 0.434027],[1262044800000, 0.434309],[1262131200000, 0.435427],[1262217600000, 0.433670]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });