$(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: 'Курс ISK, грн'}, 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: 'Курс ISK', data: [[1117584000000,0.078025],[1117670400000,0.078105],[1117756800000,0.07771],[1117843200000,0.077016],[1117929600000,0.077016],[1118016000000,0.077016],[1118102400000,0.078149],[1118188800000,0.079049],[1118275200000,0.07932],[1118361600000,0.078583],[1118448000000,0.078449],[1118534400000,0.078449],[1118620800000,0.078449],[1118707200000,0.077045],[1118793600000,0.076847],[1118880000000,0.076462],[1118966400000,null],[1119052800000,0.077613],[1119139200000,0.077613],[1119225600000,0.077613],[1119312000000,null],[1119398400000,0.076684],[1119484800000,0.076969],[1119571200000,0.076385],[1119657600000,0.076659],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,0.07714]], 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.078025],[1117584000000, 0.078025],[1117670400000, 0.078105],[1117756800000, 0.077710],[1117843200000, 0.077016],[1117929600000, 0.077016],[1118016000000, 0.077016],[1118102400000, 0.078149],[1118188800000, 0.079049],[1118275200000, 0.079320],[1118361600000, 0.078583],[1118448000000, 0.078449],[1118534400000, 0.078449],[1118620800000, 0.078449],[1118707200000, 0.077045],[1118793600000, 0.076847],[1118880000000, 0.076462],[1119052800000, 0.077613],[1119139200000, 0.077613],[1119225600000, 0.077613],[1119398400000, 0.076684],[1119484800000, 0.076969],[1119571200000, 0.076385],[1119657600000, 0.076659],[1120089600000, 0.077140]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });