React Chart - commonAxisSettings.minorGrid
Configures the minor grid.
Selector: MinorGrid
Type:
In addition to the major grid, DevExtreme Chart can display a minor grid following the placement of minor ticks.

App.tsx
- import { Chart, CommonAxisSettings, MinorGrid } from 'devextreme-react/chart';
- function App() {
- return (
- <Chart ... >
- <CommonAxisSettings>
- <MinorGrid
- visible={true}
- color="blue"
- opacity={0.1}
- width={1}
- />
- </CommonAxisSettings>
- </Chart>
- )
- }
The commonAxisSettings.minorGrid object specifies common settings for all minor gridlines in a chart. To configure only those gridlines that descend from an axis of your choice, use the following objects:
Axis-specific settings override common settings.
NOTE
- If you display the minor grid alone, it may impair chart readability. We recommend you implement the minor grid in conjunction with the major grid.
- The component does not display the minor grid on "discrete" axes.
color
Specifies a color for the lines of the minor grid.
Type:
Default Value: '#d3d3d3'
This property supports the following colors:
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
- Paint server address