CartesianChartGrid
Defines the appearance of the background major grid lines drawn across the plot area of a Cartesian RadCartesianChart, assigned through Grid. Grid lines are aligned with the major tick positions of the chart's axes and help readers estimate data values without needing to trace back to the axis itself.
Definition
Namespace:Telerik.Maui.Controls.Charts
Assembly:Telerik.Maui.Controls.dll
Syntax:
public sealed class CartesianChartGrid : StyleableElement
Inheritance: objectCartesianChartGrid
Constructors
Initializes a new instance of the CartesianChartGrid class.
public CartesianChartGrid()
Fields
MajorLineColorProperty
BindableProperty
Identifies the MajorLineColor bindable property.
public static readonly BindableProperty MajorLineColorProperty
MajorLinesVisibilityProperty
BindableProperty
Identifies the MajorLinesVisibility bindable property.
public static readonly BindableProperty MajorLinesVisibilityProperty
MajorLineThicknessProperty
BindableProperty
Identifies the MajorLineThickness bindable property.
public static readonly BindableProperty MajorLineThicknessProperty
StyleProperty
BindableProperty
Identifies the Style bindable property.
public static readonly BindableProperty StyleProperty
Properties
MajorLineColor
Color
Gets or sets the color used to draw major grid lines. Set to null to use the color defined by the active theme.
public Color MajorLineColor { get; set; }
Gets or sets which set of major grid lines — horizontal, vertical, both, or neither — is drawn. The default value is Both.
public ChartGridLinesVisibility MajorLinesVisibility { get; set; }
Gets or sets the stroke thickness, in device-independent units, of major grid lines.
The value must be greater than or equal to 0; the default is 1.0.
public double MajorLineThickness { get; set; }
Style
Style
Gets or sets the style applied to this chart grid.
public Style Style { get; set; }