Home Forums Chart Support Gradient Area Color

Gradient Area Color

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

    How to add a gradient color for splinearea chart for the area?

    #43311

    @maizurahhh_,

    You can create a gradient effect on the area chart by looping through your data points array and creating a separate dataseries with color property for each of the datapoint. Kindly refer to this JSFiddle for an example on the same.

    area chart with gradient


    Adithya Menon
    Team CanvasJS

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

You must be logged in to reply to this topic.