Angular Chart - valueAxis.grid
Configures the grid.
Selector: dxo-grid
Type:
Gridlines can be considered extensions of ticks.

app.component.html
- <dx-chart ... >
- <dxo-common-axis-settings>
- <dxo-grid
- [visible]="true"
- color="blue"
- [opacity]="0.25"
- [width]="2"
- ></dxo-grid>
- </dxo-common-axis-settings>
- </dx-chart>
The commonAxisSettings.grid object specifies common settings for all gridlines on a chart. To configure only those grid lines that descend from a particular axis, use the following objects:
Axis-specific settings override common settings.
See Also
- commonAxisSettings.minorGrid - configures the minor grid built on minor ticks.
color
Specifies the color of grid lines.
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