Class ChartXAxisMajorGridLines
Telerik UI ChartXAxisMajorGridLines.
Inheritance
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class ChartXAxisMajorGridLines : DataVizChildComponent, IDisposable
Constructors
ChartXAxisMajorGridLines()
Declaration
public ChartXAxisMajorGridLines()
Properties
ChildContent
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
Color
The color of the lines. Accepts a valid CSS color string, including hex and rgb.
Declaration
public string Color { get; set; }
Property Value
System.String
|
DashType
The dash type of the line.The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line.
Declaration
public Nullable<DashType> DashType { get; set; }
Property Value
System.Nullable<DashType>
|
Skip
The skip of the x axis major grid lines.
Declaration
public Nullable<double> Skip { get; set; }
Property Value
System.Nullable<System.Double>
|
Step
The step of the x axis major grid lines.
Declaration
public Nullable<double> Step { get; set; }
Property Value
System.Nullable<System.Double>
|
Visible
If set to false the chart will not display the x major grid lines. By default the x major grid lines are visible.
Declaration
public Nullable<bool> Visible { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Width
The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines. #### Example - set the scatter chart x major grid lines width
Declaration
public Nullable<double> Width { get; set; }
Property Value
System.Nullable<System.Double>
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
OnAfterRender(Boolean)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
System.Boolean
firstRender
|
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Serialize()
Declaration
public Dictionary<string, object> Serialize()
Returns
System.Collections.Generic.Dictionary<System.String, System.Object>
|