Home Forums Chart Support Setting thresholds for line color

Setting thresholds for line color

Viewing 2 posts - 1 through 2 (of 2 total)
  • #10380

    Hi–

    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?

    Thanks.

    #10385

    Nefron,

    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.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.