$(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: 'Курс AZN, грн'}, 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: 'Курс AZN', data: [[1259625600000,9.95489],[1259712000000,9.95539],[1259798400000,9.95701],[1259884800000,9.95639],[1259971200000,9.94767],[1260057600000,9.94767],[1260144000000,9.94767],[1260230400000,9.94643],[1260316800000,9.94581],[1260403200000,9.94831],[1260489600000,9.94831],[1260576000000,9.9437],[1260662400000,9.9437],[1260748800000,9.9437],[1260835200000,9.93848],[1260921600000,9.92926],[1261008000000,9.92553],[1261094400000,9.92281],[1261180800000,9.92281],[1261267200000,9.92281],[1261353600000,9.92281],[1261440000000,9.92281],[1261526400000,9.92033],[1261612800000,9.91908],[1261699200000,9.91659],[1261785600000,9.91597],[1261872000000,9.91597],[1261958400000,9.91597],[1262044800000,9.91658],[1262131200000,9.92218],[1262217600000,9.94272]], 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, 9.954885],[1259625600000, 9.954885],[1259712000000, 9.955389],[1259798400000, 9.957009],[1259884800000, 9.956386],[1259971200000, 9.947670],[1260057600000, 9.947670],[1260144000000, 9.947670],[1260230400000, 9.946431],[1260316800000, 9.945815],[1260403200000, 9.948306],[1260489600000, 9.948306],[1260576000000, 9.943697],[1260662400000, 9.943697],[1260748800000, 9.943697],[1260835200000, 9.938481],[1260921600000, 9.929265],[1261008000000, 9.925529],[1261094400000, 9.922809],[1261180800000, 9.922809],[1261267200000, 9.922809],[1261353600000, 9.922809],[1261440000000, 9.922809],[1261526400000, 9.920329],[1261612800000, 9.919084],[1261699200000, 9.916594],[1261785600000, 9.915972],[1261872000000, 9.915972],[1261958400000, 9.915972],[1262044800000, 9.916584],[1262131200000, 9.922177],[1262217600000, 9.942722]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });