Skip to content
ChartForgeX
Class

ChartGridLineStyleFluent

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
static

Hand-written fluent methods of ChartGridLineStyle that do more than set one property.

Inheritance

  • object
  • ChartGridLineStyleFluent

Methods

Dash 2 overloads
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 required
dash double required
gap double required
public 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 required
The instance.
value double required
The value.

Returns

ChartGridLineStyle The same instance.

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 required
The instance.
value double required
The value.

Returns

ChartGridLineStyle The same instance.

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 required
The instance.
value double required
The value.

Returns

ChartGridLineStyle The same instance.

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 required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartGridLineStyle The same instance.

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 required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartGridLineStyle The same instance.

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 required
The instance.
value double required
The value.

Returns

ChartGridLineStyle The same instance.

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 required
The instance.
value double required
The value.

Returns

ChartGridLineStyle The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ChartForgeX.Core.ChartGridLineStyle { VerticalOpacity = value };    chartGridLineStyle.VerticalOpacity(value);