OptionsAxisGridLines

Wisej.Web.Ext.ChartJS.OptionsAxisGridLines

Namespace: Wisej.Web.Ext.ChartJS

Assembly: Wisej.Web.Ext.ChartJS (3.2.0.0)

Specifies the grid line configuration for each axis.

public class OptionsAxisGridLines : OptionsBase

Constructors

Default constructor.

Constructs a new instance of the OptionsAxisGridlines set.

NameTypeDescription

owner

The ChartJS that owns this set of options.

Properties

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

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

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

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.

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

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

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.

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

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

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

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

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

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

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

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

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

Last updated