Home › forums › Using CanvasJS › Area Color based on xAxis range
Tagged: area, background color
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
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.
You must be logged in to reply to this topic.