ChartGridLineStyle
ChartForgeX.Core
Defines reusable visual tokens for cartesian grid and guide lines.
Inheritance
- object
- ChartGridLineStyle
Usage
Explore 37 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 19
- Extension method ChartGridLineStyle.Dash
- Extension method ChartGridLineStyle.Gap
- Extension method ChartGridLineStyle.HorizontalOpacity
- Extension method ChartGridLineStyle.ShowHorizontalLines
- Extension method ChartGridLineStyle.ShowVerticalLines
- Extension method ChartGridLineStyle.StrokeWidth
- Extension method ChartGridLineStyle.VerticalOpacity
- Method ChartGridLineStyle.Clone
- Method ChartGridLineStyle.DashboardVerticalGuides
- Method ChartGridLineStyle.Default
- Method ChartGridLineStyleFluent.Dash
- Method ChartGridLineStyleFluent.Gap
- Method ChartGridLineStyleFluent.HorizontalOpacity
- Method ChartGridLineStyleFluent.ShowHorizontalLines
- Method ChartGridLineStyleFluent.ShowVerticalLines
- Method ChartGridLineStyleFluent.StrokeWidth
- Method ChartGridLineStyleFluent.VerticalOpacity
- Property ChartOptions.GridLineStyle
- Property VisualArtifactInterchangeWaterfallArtifact.GridStyle
Accepted by parameters 18
- Extension method Chart.GridLineStyle
- Extension method Chart.GridLineStyle
- Method ChartFluent.GridLineStyle
- Method ChartFluent.GridLineStyle
- Extension method ChartGridLineStyle.Dash
- Extension method ChartGridLineStyle.Gap
- Extension method ChartGridLineStyle.HorizontalOpacity
- Extension method ChartGridLineStyle.ShowHorizontalLines
- Extension method ChartGridLineStyle.ShowVerticalLines
- Extension method ChartGridLineStyle.StrokeWidth
- Extension method ChartGridLineStyle.VerticalOpacity
- Method ChartGridLineStyleFluent.Dash
- Method ChartGridLineStyleFluent.Gap
- Method ChartGridLineStyleFluent.HorizontalOpacity
- Method ChartGridLineStyleFluent.ShowHorizontalLines
- Method ChartGridLineStyleFluent.ShowVerticalLines
- Method ChartGridLineStyleFluent.StrokeWidth
- Method ChartGridLineStyleFluent.VerticalOpacity
Constructors
public ChartGridLineStyle() #Methods
public ChartGridLineStyle Clone() #Creates a copy that can be safely reused and customized.
Returns
ChartGridLineStylepublic static ChartGridLineStyle DashboardVerticalGuides() #Creates a dashboard guide style with vertical dashed category guides.
Returns
ChartGridLineStylepublic static ChartGridLineStyle Default() #Creates the default cartesian grid style.
Returns
ChartGridLineStyleInherited Methods
Properties
public bool ShowHorizontalLines { get; set; } #Gets or sets whether horizontal value grid lines are drawn.
public bool ShowVerticalLines { get; set; } #Gets or sets whether vertical category grid lines are drawn.
public double HorizontalOpacity { get; set; } #Gets or sets horizontal grid line opacity.
public double VerticalOpacity { get; set; } #Gets or sets vertical grid line opacity.
public double StrokeWidth { get; set; } #Gets or sets grid line stroke width.
public double Dash { get; set; } #Gets or sets the dash length. Zero renders solid lines.
Extension Methods
public static ChartGridLineStyle Dash(ChartGridLineStyle chartGridLineStyle, double dash, double gap) #Sets the dash and gap lengths. Use zero dash for solid lines.
Parameters
- chartGridLineStyle ChartForgeX.Core.ChartGridLineStyle
- dash double
- gap double
Returns
ChartGridLineStylepublic static ChartGridLineStyle Dash(ChartGridLineStyle chartGridLineStyle, double value) #Sets ChartGridLineStyle.Dash: Gets or sets the dash length. Zero renders solid lines.
Parameters
- chartGridLineStyle ChartForgeX.Core.ChartGridLineStyle
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGridLineStyle { Dash = value }; chartGridLineStyle.Dash(value);public static ChartGridLineStyle Gap(ChartGridLineStyle chartGridLineStyle, double value) #Sets ChartGridLineStyle.Gap: Gets or sets the dash gap length.
Parameters
- chartGridLineStyle ChartForgeX.Core.ChartGridLineStyle
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGridLineStyle { Gap = value }; chartGridLineStyle.Gap(value);public static ChartGridLineStyle HorizontalOpacity(ChartGridLineStyle chartGridLineStyle, double value) #Sets ChartGridLineStyle.HorizontalOpacity: Gets or sets horizontal grid line opacity.
Parameters
- chartGridLineStyle ChartForgeX.Core.ChartGridLineStyle
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGridLineStyle { HorizontalOpacity = value }; chartGridLineStyle.HorizontalOpacity(value);public static ChartGridLineStyle ShowHorizontalLines(ChartGridLineStyle chartGridLineStyle, bool value = true) #Sets ChartGridLineStyle.ShowHorizontalLines: Gets or sets whether horizontal value grid lines are drawn.
Parameters
- chartGridLineStyle ChartForgeX.Core.ChartGridLineStyle
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGridLineStyle { ShowHorizontalLines = value }; chartGridLineStyle.ShowHorizontalLines(value);public static ChartGridLineStyle ShowVerticalLines(ChartGridLineStyle chartGridLineStyle, bool value = true) #Sets ChartGridLineStyle.ShowVerticalLines: Gets or sets whether vertical category grid lines are drawn.
Parameters
- chartGridLineStyle ChartForgeX.Core.ChartGridLineStyle
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGridLineStyle { ShowVerticalLines = value }; chartGridLineStyle.ShowVerticalLines(value);public static ChartGridLineStyle StrokeWidth(ChartGridLineStyle chartGridLineStyle, double value) #Sets ChartGridLineStyle.StrokeWidth: Gets or sets grid line stroke width.
Parameters
- chartGridLineStyle ChartForgeX.Core.ChartGridLineStyle
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGridLineStyle { StrokeWidth = value }; chartGridLineStyle.StrokeWidth(value);public static ChartGridLineStyle VerticalOpacity(ChartGridLineStyle chartGridLineStyle, double value) #Sets ChartGridLineStyle.VerticalOpacity: Gets or sets vertical grid line opacity.
Parameters
- chartGridLineStyle ChartForgeX.Core.ChartGridLineStyle
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Core.ChartGridLineStyle { VerticalOpacity = value }; chartGridLineStyle.VerticalOpacity(value);