Is it possible to change specific point color with dx chartjs? I know how to change point colors for the whole series, but I can't find anything on changing specific points.
Asked
Active
Viewed 8,890 times
1 Answers
2
You can use
customizePoint
callback.
$("#container").dxChart({
dataSource: dataSource,
...
customizePoint: function() {
if(this.value > highAverage) {
return { color: '#ff4500', hoverStyle: { color: '#ff4500' } };
} else if(this.value < lowAverage) {
return { color: '#00ced1', hoverStyle: { color: '#00ced1' } };
}
},
....
}
});
You can find find documentation and demo

Andrey Kuleshov
- 645
- 6
- 19