Home Forums Chart Support Grid line customization

Grid line customization

Viewing 4 posts - 1 through 4 (of 4 total)
  • #39364

    How to customize specific grid line, i.e. thickness, style or color for 0 value grid line on X axis?

    #39369

    @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.

    Y Axis Stripline


    Vishwas R
    Team CanvasJS

    #39370

    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?

    #39403

    @walterschaefer,

    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.

    Custom Grid Color using Stripline


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.