ChartGridLineStyleFluent
ChartForgeX.Core
Hand-written fluent methods of ChartGridLineStyle that do more than set one property.
Inheritance
- object
- ChartGridLineStyleFluent
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);