series: [
{
data: [60, 63, 60, 87, -50, -50, null, 100, 120, 138],
},
],
chartOptions: {
chart: {
type: 'area',
height: 350,
},
plotOptions: {
line: {
isSlopeChart: false,
colors: {
threshold: 0,
colorAboveThreshold: 'rgba(0, 136, 238, 0.30)',
colorBelowThreshold: 'rgba(255, 0, 0, 0.30)',
},
},
},
dataLabels: {
enabled: false,
},
xaxis: {
categories: [
'Korea',
'Canada',
'United Kingdom',
'Netherlands',
'Italy',
'France',
'Japan',
'United States',
'China',
'Germany',
],
},
},
};
Description
Incorrect rendering when
nullvalue exists in the data and colorAboveThreshold, colorBelowThreshold option is used.Steps to Reproduce
A chart with the following data and options will render incorrectly
Screenshots
Reproduction Link
https://stackblitz.com/edit/vue-bar-chart-gmrjjet5?file=src%2FApp.vue