$(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: 'Курс CZK, грн'}, 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: 'Курс CZK', data: [[1117584000000,0.205029],[1117670400000,0.203297],[1117756800000,0.204215],[1117843200000,0.205876],[1117929600000,0.205876],[1118016000000,0.205876],[1118102400000,0.205666],[1118188800000,0.206363],[1118275200000,0.207011],[1118361600000,0.205747],[1118448000000,0.206038],[1118534400000,0.206038],[1118620800000,0.206038],[1118707200000,0.203258],[1118793600000,0.203714],[1118880000000,0.203716],[1118966400000,null],[1119052800000,0.205986],[1119139200000,0.205986],[1119225600000,0.205986],[1119312000000,null],[1119398400000,0.204343],[1119484800000,0.204952],[1119571200000,0.204732],[1119657600000,0.204003],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,0.202907]], 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.205029],[1117584000000, 0.205029],[1117670400000, 0.203297],[1117756800000, 0.204215],[1117843200000, 0.205876],[1117929600000, 0.205876],[1118016000000, 0.205876],[1118102400000, 0.205666],[1118188800000, 0.206363],[1118275200000, 0.207011],[1118361600000, 0.205747],[1118448000000, 0.206038],[1118534400000, 0.206038],[1118620800000, 0.206038],[1118707200000, 0.203258],[1118793600000, 0.203714],[1118880000000, 0.203716],[1119052800000, 0.205986],[1119139200000, 0.205986],[1119225600000, 0.205986],[1119398400000, 0.204343],[1119484800000, 0.204952],[1119571200000, 0.204732],[1119657600000, 0.204003],[1120089600000, 0.202907]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });