Skip to content
ChartForgeX
Class

ChartLineVisualStyle

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
sealed
Attributes
Fluent(Copy = "Clone")

Defines reusable visual tokens for line, area boundary, trend, and slope strokes.

Inheritance

  • object
  • ChartLineVisualStyle

Usage

Explore 39 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.

Accepted by parameters 20

Constructors

public ChartLineVisualStyle() #

Methods

public static ChartLineVisualStyle Classic() #

Creates the previous simpler line style with only a readable color halo.

public ChartLineVisualStyle Clone() #

Creates a copy that can be safely reused and customized.

public static ChartLineVisualStyle Luminous() #

Creates a stronger luminous line style for deliberate glow-heavy dashboard treatments.

public static ChartLineVisualStyle Plain() #

Creates a plain single-stroke line style without halo or highlight layers.

public static ChartLineVisualStyle Premium() #

Creates a lightly decorated line style for dashboard and report charts.

Properties

public double AmbientHaloOpacity { get; set; } #

Gets or sets the opacity used for the widest soft color halo.

public double AmbientHaloStrokeExtra { get; set; } #

Gets or sets the extra width added to the line for the widest soft color halo.

public double HaloOpacity { get; set; } #

Gets or sets the opacity used for the readable stroke halo closest to the line.

public double HaloStrokeExtra { get; set; } #

Gets or sets the extra width added to the line for the readable stroke halo.

public double HighlightOpacity { get; set; } #

Gets or sets the opacity used for the subtle white line highlight.

public double HighlightStrokeRatio { get; set; } #

Gets or sets the highlight stroke width as a ratio of the foreground line stroke width.

Extension Methods

public static ChartLineVisualStyle AmbientHaloOpacity(ChartLineVisualStyle chartLineVisualStyle, double value) #

Sets ChartLineVisualStyle.AmbientHaloOpacity: Gets or sets the opacity used for the widest soft color halo.

Parameters

chartLineVisualStyle ChartForgeX.Core.ChartLineVisualStyle required
The instance.
value double required
The value.

Returns

ChartLineVisualStyle The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ChartForgeX.Core.ChartLineVisualStyle { AmbientHaloOpacity = value };    chartLineVisualStyle.AmbientHaloOpacity(value);
public static ChartLineVisualStyle AmbientHaloStrokeExtra(ChartLineVisualStyle chartLineVisualStyle, double value) #

Sets ChartLineVisualStyle.AmbientHaloStrokeExtra: Gets or sets the extra width added to the line for the widest soft color halo.

Parameters

chartLineVisualStyle ChartForgeX.Core.ChartLineVisualStyle required
The instance.
value double required
The value.

Returns

ChartLineVisualStyle The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::ChartForgeX.Core.ChartLineVisualStyle { AmbientHaloStrokeExtra = value };    chartLineVisualStyle.AmbientHaloStrokeExtra(value);
public static ChartLineVisualStyle HaloOpacity(ChartLineVisualStyle chartLineVisualStyle, double value) #

Sets ChartLineVisualStyle.HaloOpacity: Gets or sets the opacity used for the readable stroke halo closest to the line.

Parameters

chartLineVisualStyle ChartForgeX.Core.ChartLineVisualStyle required
The instance.
value double required
The value.

Returns

ChartLineVisualStyle The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Core.ChartLineVisualStyle { HaloOpacity = value };    chartLineVisualStyle.HaloOpacity(value);
public static ChartLineVisualStyle HaloStrokeExtra(ChartLineVisualStyle chartLineVisualStyle, double value) #

Sets ChartLineVisualStyle.HaloStrokeExtra: Gets or sets the extra width added to the line for the readable stroke halo.

Parameters

chartLineVisualStyle ChartForgeX.Core.ChartLineVisualStyle required
The instance.
value double required
The value.

Returns

ChartLineVisualStyle The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.Core.ChartLineVisualStyle { HaloStrokeExtra = value };    chartLineVisualStyle.HaloStrokeExtra(value);
public static ChartLineVisualStyle HighlightOpacity(ChartLineVisualStyle chartLineVisualStyle, double value) #

Sets ChartLineVisualStyle.HighlightOpacity: Gets or sets the opacity used for the subtle white line highlight.

Parameters

chartLineVisualStyle ChartForgeX.Core.ChartLineVisualStyle required
The instance.
value double required
The value.

Returns

ChartLineVisualStyle The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.Core.ChartLineVisualStyle { HighlightOpacity = value };    chartLineVisualStyle.HighlightOpacity(value);
public static ChartLineVisualStyle HighlightStrokeRatio(ChartLineVisualStyle chartLineVisualStyle, double value) #

Sets ChartLineVisualStyle.HighlightStrokeRatio: Gets or sets the highlight stroke width as a ratio of the foreground line stroke width.

Parameters

chartLineVisualStyle ChartForgeX.Core.ChartLineVisualStyle required
The instance.
value double required
The value.

Returns

ChartLineVisualStyle The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ChartForgeX.Core.ChartLineVisualStyle { HighlightStrokeRatio = value };    chartLineVisualStyle.HighlightStrokeRatio(value);