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
OptionsAxisGridLines()

Default constructor.
OptionsAxisGridLines(owner)

Constructs a new instance of the OptionsAxisGridlines set.
Properties
BorderDash

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

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

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

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.
Display

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

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

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.
DrawTicks

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

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

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

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

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

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

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

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

Int32: Stroke width of the grid line for the first index (index 0). (Default: 1
)
Last updated
Was this helpful?