Home Forums Chart Support Area Color based on xAxis range

Area Color based on xAxis range

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

    Hello,

    I want add background color to an area of graph based on just x axis value (date). Say for ex: Want to add background color from Jan 1st to till today in large set of graph. And I don’t want to provide the Y axis value. Please let me know how to do it

    #28159

    @shreek,

    You can use stripLines over axisX to achieve the above requirement. Please refer to this documentation page for more information and customization options available in stripLines.


    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.