$(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: 'Курс TRY, грн'}, 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: 'Курс TRY', data: [[1367366400000,4.44237],[1367452800000,4.44237],[1367539200000,4.44237],[1367625600000,4.44237],[1367712000000,4.44237],[1367798400000,4.44237],[1367884800000,4.44237],[1367971200000,4.44029],[1368057600000,4.45431],[1368144000000,4.45431],[1368230400000,4.45431],[1368316800000,4.45431],[1368403200000,4.45431],[1368489600000,4.42188],[1368576000000,4.41271],[1368662400000,4.38211],[1368748800000,4.36733],[1368835200000,4.35008],[1368921600000,4.35008],[1369008000000,4.35008],[1369094400000,4.3282],[1369180800000,4.3231],[1369267200000,4.34171],[1369353600000,4.31526],[1369440000000,4.3249],[1369526400000,4.3249],[1369612800000,4.3249],[1369699200000,4.33251],[1369785600000,4.32475],[1369872000000,4.29049],[1369958400000,4.26223]], 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, 4.442368],[1367366400000, 4.442368],[1367452800000, 4.442368],[1367539200000, 4.442368],[1367625600000, 4.442368],[1367712000000, 4.442368],[1367798400000, 4.442368],[1367884800000, 4.442368],[1367971200000, 4.440292],[1368057600000, 4.454309],[1368144000000, 4.454309],[1368230400000, 4.454309],[1368316800000, 4.454309],[1368403200000, 4.454309],[1368489600000, 4.421884],[1368576000000, 4.412710],[1368662400000, 4.382115],[1368748800000, 4.367334],[1368835200000, 4.350077],[1368921600000, 4.350077],[1369008000000, 4.350077],[1369094400000, 4.328195],[1369180800000, 4.323101],[1369267200000, 4.341706],[1369353600000, 4.315256],[1369440000000, 4.324904],[1369526400000, 4.324904],[1369612800000, 4.324904],[1369699200000, 4.332513],[1369785600000, 4.324751],[1369872000000, 4.290494],[1369958400000, 4.262231]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });