Home › forums › Chart Support › Setting thresholds for line color
I’m using a line chart and was wondering if it was possible to color all parts of the graph below 0 as red and everything above as black. This would involve having multicolored lines (if the line crossed 0 between 2 data points). Is this possible natively in canvasjs? If not, is it possible programatically?
As of now this feature is not available. But you can change color of line once it switches from negative to positive and vice-versa. Here is an example.
You must be logged in to reply to this topic.