$(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: [[1372636800000,4.15496],[1372723200000,4.15175],[1372809600000,4.1515],[1372896000000,4.09996],[1372982400000,4.09506],[1373068800000,4.10091],[1373155200000,4.10091],[1373241600000,4.10091],[1373328000000,4.1043],[1373414400000,4.11805],[1373500800000,4.10676],[1373587200000,4.11139],[1373673600000,4.06972],[1373760000000,4.06972],[1373846400000,4.06972],[1373932800000,4.11038],[1374019200000,4.15569],[1374105600000,4.1502],[1374192000000,4.16577],[1374278400000,4.15793],[1374364800000,4.15793],[1374451200000,null],[1374537600000,4.16875],[1374624000000,4.1813],[1374710400000,4.18844],[1374796800000,4.15055],[1374883200000,4.1575],[1374969600000,4.1575],[1375056000000,4.1575],[1375142400000,4.15379],[1375228800000,4.15248]], 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: [[1372636800000, 4.154957],[1372636800000, 4.154957],[1372723200000, 4.151749],[1372809600000, 4.151500],[1372896000000, 4.099956],[1372982400000, 4.095060],[1373068800000, 4.100909],[1373155200000, 4.100909],[1373241600000, 4.100909],[1373328000000, 4.104298],[1373414400000, 4.118053],[1373500800000, 4.106757],[1373587200000, 4.111388],[1373673600000, 4.069720],[1373760000000, 4.069720],[1373846400000, 4.069720],[1373932800000, 4.110379],[1374019200000, 4.155688],[1374105600000, 4.150205],[1374192000000, 4.165765],[1374278400000, 4.157932],[1374364800000, 4.157932],[1374537600000, 4.168747],[1374624000000, 4.181295],[1374710400000, 4.188436],[1374796800000, 4.150550],[1374883200000, 4.157501],[1374969600000, 4.157501],[1375056000000, 4.157501],[1375142400000, 4.153793],[1375228800000, 4.152484]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });