Skip to main content

OptionsAxisGridLines

Namespace: Wisej.Web.Ext.ChartJS

Assembly: Wisej.Web.Ext.ChartJS

Specifies the grid line configuration for each axis.

public class OptionsAxisGridLines : OptionsBase

Constructors

Instance memberOptionsAxisGridLines()

Default constructor.

Instance memberOptionsAxisGridLines(owner)

Constructs a new instance of the OptionsAxisGridlines set.

NameTypeDescription
ownerOptionsBaseThe ChartJS that owns this set of options.

Properties

Instance memberBorderDash

Int32[]: Length and spacing of dashes on grid lines. See setLineDash. (Default: null)

Instance memberBorderDashOffset

Single: Offset for line dashes. See lineDashOffset. (Default: 0)

Instance memberCircular

Boolean: If true, grid lines are circular (on radar chart only). (Default: False)

Instance memberColor

Color[]: The colors of the grid lines. (Default: null)

If specified as an array, the first color applies to the first grid line, the second to the second grid line and so on.

Instance memberDisplay

Boolean: Shows or hides the grid lines for the specified axis. (Default: True)

Instance memberDrawBorder

Boolean: If true, draw border at the edge between the axis and the chart area. (Default: True)

Instance memberDrawOnChartArea

Boolean: If true, draw lines on the chart area inside the axis lines. (Default: True)

This is useful when there are multiple axes and you need to control which grid lines are drawn.

Instance memberDrawTicks

Boolean: If true, draw lines beside the ticks in the axis area beside the chart. (Default: True)

Instance memberLineWidth

Int32: Stroke width of grid lines. (Default: 1)

Instance memberOffsetGridLines

Boolean: If true, grid lines will be shifted to be between labels. (Default: False)

Instance memberTickMarkLength

Int32: Length in pixels that the grid lines will draw into the axis area. (Default: 10)

Instance memberZ

Int32: z-index of gridline layer. Values <= 0 are drawn under datasets, > 0 on top. (Default: 0)

Instance memberZeroLineBorderDash

Int32[]: Length and spacing of dashes of the grid line for the first index (index 0). See setLineDash. (Default: null)

Instance memberZeroLineBorderDashOffset

Single: Offset for line dashes of the grid line for the first index (index 0). See lineDashOffset. (Default: 0)

Instance memberZeroLineColor

Color: Stroke color of the grid line for the first index (index 0). (Default: null)

Instance memberZeroLineWidth

Int32: Stroke width of the grid line for the first index (index 0). (Default: 1)