ChartAxesGrid Class

Defines options for the grid lines that run perpendicular to the axis. https://www.chartjs.org/docs/latest/samples/scale-options/grid.html

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class ChartAxesGrid
Inheritance
Object    ChartAxesGrid

Constructors

ChartAxesGridInitializes a new instance of the ChartAxesGrid class

Properties

Circular If , gridlines are circular (on radar and polar area charts only).
Color Color of the grid axis lines. Here one can write a CSS method or even a JavaScript method for a dynamic color.
Display If false, do not display grid lines for this axis.
DrawOnChartArea If , draw lines on the chart area inside the axis lines. This is useful when there are multiple axes, and you need to control which grid lines are drawn.
DrawTicks If , draw lines beside the ticks in the axis area beside the chart.
LineWidth Stroke width of grid lines.
Offset If , grid lines will be shifted to be between labels. This is set to for a bar chart by default.
TickBorderDash Length and spacing of the tick mark line.
TickBorderDashOffset Offset for the line dash of the tick mark.
TickColor Color of the tick line. If unset, defaults to the grid line color.
TickLength Length in pixels that the grid lines will draw into the axis area.
TickWidth Width of the tick mark in pixels.
Z z-index of the gridline layer. Values smaller or equal to 0 are drawn under datasets, above 0 on top.

See Also