Home Forums Feature Requests & Feedback Dynamic area coloring

Dynamic area coloring

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


    I am interested to know if it is possible to make the color of a chart area to change to red when the Y becomes smaller than 0.

    For example, see this chart: https://canvasjs.com/editor/?id=https://canvasjs.com/example/gallery/area/email_analysis/
    Modify the value of Y to -50 and you will now see that a portion of the area chart indicates a negative value. Would it be possible to make only that area be red instead of green?

    Thank you



    As of now it is not possible to have more than one color per series. As a workaround you can create two different series – one for positive and another one for negative values.

    Sunil Urs

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

You must be logged in to reply to this topic.