You must be logged in to post your query.
Home › Forums › Chart Support › Grid line customization
Tagged: customization, grid, Line
How to customize specific grid line, i.e. thickness, style or color for 0 value grid line on X axis?
@walterschaefer,
It’s not possible to customize the thickness & style of one particular gridline. Thickness & styling applies for all the gridlines. However, you can add stripline at specific value with custom color & thickness as per your requirements.
— Vishwas R Team CanvasJS
Thanks for reply
Unfortunately customizing all grid lines at once is not an option in my case
Seems weird that such simple thing is out of feature list Could I expect such functionality in near updates?
Gridlines are drawn at every interval of the axis. Color & thickness of all the grids can be changed using gridColor & gridThickness properties respectively. As addressed earlier, you can use stripline at a particular value to show different thickness & color of a grid. Please take a look at this JSFiddle for an example.
You must be logged in to reply to this topic. Login/Register