Search code examples
javascriptdygraphs

Make Dygraps chart background grid lighter


I have done the dygraph chart and it is working fine. I need to make the background grid lines lighter which i have marked in the image.

Dygraph Chart


Solution

  • You want to set the gridLineColor option, or the gridLineWidth option. If you want to have fewer gridlines, you can tweak the pixelsPerLabel setting for the y-axis.