Highchart (график высокого запаса) не отображает линию графика при первой загрузке с селектором диапазона по умолчанию.Данные отображаются только тогда, когда пользователь нажимает на все.
Highcharts.stockChart('container', {
credits: {
enabled: false
},
chart: {
height: 500
},
navigator: {
xAxis: {
labels: {
style: {
color: '#000'
}
}
},
},
rangeSelector: {
selected: 1
},
yAxis: {
labels: {
formatter: function() {
return (this.value > 0 ? ' + ' : '') + this.value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
}
},
plotLines: [{
value: 0,
width: 2,
color: 'silver'
}]
},
tooltip: {
pointFormat: '{point.tooltip}',
valueDecimals: 2,
split: true
},
title: {
text: ''
},
plotOptions: {
series: {
stacking: 'stacked',
turboThreshold: 10000
}
},
series: [{
name: 'NILESH Benefits1 Plan',
id: 'NILESH Benefits1 Plan',
type: 'line',
showInNavigator: true,
color: '',
data: ([{
x: Date.UTC(2015, 9, 8),
y: 17391107.275888,
tooltip: 'NILESH Benefits1 Plan £17,391,107'
},... (lengthy data deleted)
Fiddle http://jsfiddle.net/nileshrokade/ks1pyj45/4/