$(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: 'Курс EEK, грн'}, 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: 'Курс EEK', data: [[1117584000000,0.397988],[1117670400000,0.395054],[1117756800000,0.396185],[1117843200000,0.397025],[1117929600000,0.397025],[1118016000000,0.397025],[1118102400000,0.396476],[1118188800000,0.396896],[1118275200000,0.398156],[1118361600000,0.39541],[1118448000000,0.395086],[1118534400000,0.395086],[1118620800000,0.395086],[1118707200000,0.389691],[1118793600000,0.391242],[1118880000000,0.389917],[1118966400000,null],[1119052800000,0.393406],[1119139200000,0.393406],[1119225600000,0.393406],[1119312000000,null],[1119398400000,0.39066],[1119484800000,0.391274],[1119571200000,0.38982],[1119657600000,0.390337],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,0.389433]], 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: [[1117584000000, 0.397988],[1117584000000, 0.397988],[1117670400000, 0.395054],[1117756800000, 0.396185],[1117843200000, 0.397025],[1117929600000, 0.397025],[1118016000000, 0.397025],[1118102400000, 0.396476],[1118188800000, 0.396896],[1118275200000, 0.398156],[1118361600000, 0.395410],[1118448000000, 0.395086],[1118534400000, 0.395086],[1118620800000, 0.395086],[1118707200000, 0.389691],[1118793600000, 0.391242],[1118880000000, 0.389917],[1119052800000, 0.393406],[1119139200000, 0.393406],[1119225600000, 0.393406],[1119398400000, 0.390660],[1119484800000, 0.391274],[1119571200000, 0.389820],[1119657600000, 0.390337],[1120089600000, 0.389433]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });