[FEATURE] Global setting for grid lines color
See original GitHub issueIt’s possible to change globally the default grid lines color?
I have several Charts in a page and can change the color one by one, for each axis, using the gridLines option; having a global setting like Chart.defaults.global.defaulGridColor = "#ddd"
would be useful.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Style Settings
Use the Style configuration page to define style settings such hiding or showing gridlines, changing fonts and modifying the color palette.
Read more >Change the color of gridlines in a worksheet - Microsoft Support
In the Gridline color box, click the color you want. Gridline color settings in the Excel Options dialog box. Tip: To return gridlines...
Read more >charts.js global options gridLines - Stack Overflow
You can set a transparent color for the grid lines: scales: { xAxes: [{ display: true, gridLines: { color: 'rgba(0,0,0,0)' }, ... }],...
Read more >How to use rulers, grids, and guides in Illustrator
Set Smart Guides preferences · Color. Specifies the color of the guides. · Alignment Guides. Displays guide lines that are generated along the ......
Read more >Gridlines in Excel - Overview, How To Remove, How to ...
Gridlines are displayed in a workbook using a grey color that is applied automatically. If you want o change the gridline colors, Go...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You should already be able to do that using
Chart.defaults.scale.gridLines.color = "#ddd"
?In chart.js v3 the
gridLines
was renamed togrid