Vote count: 0
Please help, I have looked in many threads, websites and on the Highcharts website but have not found a solution to this.
I am trying to remove the trendline from my Highcharts spline chart. What's really strange is the fact that it is only on 2 lines within the chart. Any help is much appreciated.
$('#heatmap2').highcharts({
chart: {
zoomType: 'x',
type: 'spline'
},
plotOptions: {
spline: {
marker: {
enabled: false
}
}
},
title: {
text: 'Last 90 Days'
},
xAxis: {
type: 'datetime',
dateTimeLabelFormats: {
month: '%e. %b',
year: '%b'
},
title: {
text: 'Days'
}
},
yAxis: {
title: {
text: 'Balance'
},
min: 0,
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
legend: {
layout: 'horizontal',
align: 'center',
borderWidth: 0
},
series: [{
name: 'Advances',
data: [{x:Date.UTC(2016, 10, 14),title:'Schedule 600',y:10210.75}]
}, {
name: 'Collections',
data: [{x:Date.UTC(2016,10, 15),title:'Collection 1457',y:61952.71}]
}, {
name: 'Reserves',
data: [{x:Date.UTC(2016, 10, 23),title:'Reserve 1460',y:20425.00}]
}, {
name: 'Credit Limit',
data: [{x:Date.UTC(2017, 0, 1),title:'Total Credit Limit',y:300000.00},{x:Date.UTC(2017, 0, 2)],
dashStyle: 'shortdot'
}, {
name: 'AR Balance',
data: [{x:Date.UTC(2017, 0, 1),title:'AR Balance',y:213170.42},{x:Date.UTC(2017, 0, 2),title:'AR Balance',y:213170.42}]
}, {
name: 'NFE Balance',
data: [{x:Date.UTC(2017, 0, 1),title:'AR Balance',y:192500.60},{x:Date.UTC(2017, 0, 2),title:'AR Balance',y:192500.60},{x:Date.UTC(2017, 0, 3),title:'AR Balance',y:178994.02}]
}],
tooltip: {
pointFormat: '{point.title}
Amount:\${point.y}'
}
});
asked 27 secs ago
Remove trendline from Highcharts spline chart
Aucun commentaire:
Enregistrer un commentaire