Skip to content
ChartForgeX
Class

ChartLineOptions

ChartForgeX.Core

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

Line styling, markers and orientation. Configure it through ChartOptions.Lines.

Inheritance

  • object
  • ChartLineOptions

Usage

Explore 29 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 18

Constructors

public ChartLineOptions() #

Properties

public ChartLineMarkerMode? MarkerMode { get; set; } #

Gets or sets optional line-marker visibility. Null uses the shared default (last point).

public ChartOrientation Orientation { get; set; } #

Gets or sets the orientation of line and step-line series. Horizontal lines retain source X as the category coordinate on the physical Y axis and source Y as the value on the physical X axis. They use the primary axis and a linear or time category scale, and can share that orientation with horizontal bars.

public ChartLineVisualStyle VisualStyle { get; set; } #
FluentPreset("PlainStyle", typeof(ChartLineVisualStyle), "Plain", Summary = "Uses plain lines without glow.") FluentPreset("LuminousStyle", typeof(ChartLineVisualStyle), "Luminous", Summary = "Uses luminous lines with a soft glow.")

Gets or sets reusable visual tokens for line, area boundary, trend, and slope strokes.

Extension Methods

public static ChartLineOptions LuminousStyle(ChartLineOptions chartLineOptions) #

Uses luminous lines with a soft glow.

Parameters

chartLineOptions ChartForgeX.Core.ChartLineOptions required
The instance.

Returns

ChartLineOptions The same instance.
public static ChartLineOptions MarkerMode(ChartLineOptions chartLineOptions, ChartLineMarkerMode? value) #

Sets ChartLineOptions.MarkerMode: Gets or sets optional line-marker visibility. Null uses the shared default (last point).

Parameters

chartLineOptions ChartForgeX.Core.ChartLineOptions required
The instance.
value ChartForgeX.Core.ChartLineMarkerMode? required
The value.

Returns

ChartLineOptions The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Core.ChartLineOptions { MarkerMode = value };    chartLineOptions.MarkerMode(value);
public static ChartLineOptions Orientation(ChartLineOptions chartLineOptions, ChartOrientation value) #

Sets ChartLineOptions.Orientation: Gets or sets the orientation of line and step-line series. Horizontal lines retain source X as the category coordinate on the physical Y axis and source Y as the value on the physical X axis. They use the primary axis and a linear or time category scale, and can share that orientation with horizontal bars.

Parameters

chartLineOptions ChartForgeX.Core.ChartLineOptions required
The instance.
value ChartForgeX.Core.ChartOrientation required
The value.

Returns

ChartLineOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Core.ChartLineOptions { Orientation = value };    chartLineOptions.Orientation(value);
public static ChartLineOptions PlainStyle(ChartLineOptions chartLineOptions) #

Uses plain lines without glow.

Parameters

chartLineOptions ChartForgeX.Core.ChartLineOptions required
The instance.

Returns

ChartLineOptions The same instance.
VisualStyle 2 overloads
public static ChartLineOptions VisualStyle(ChartLineOptions chartLineOptions, ChartLineVisualStyle value) #

Sets ChartLineOptions.VisualStyle: Gets or sets reusable visual tokens for line, area boundary, trend, and slope strokes.

Parameters

chartLineOptions ChartForgeX.Core.ChartLineOptions required
The instance.
value ChartForgeX.Core.ChartLineVisualStyle required
The value.

Returns

ChartLineOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Core.ChartLineOptions { VisualStyle = value };    chartLineOptions.VisualStyle(value);
public static ChartLineOptions VisualStyle(ChartLineOptions chartLineOptions, Action<ChartLineVisualStyle> configure) #

Configures a copy of ChartLineOptions.VisualStyle (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets reusable visual tokens for line, area boundary, trend, and slope strokes.

Parameters

chartLineOptions ChartForgeX.Core.ChartLineOptions required
The instance.
configure System.Action<ChartForgeX.Core.ChartLineVisualStyle> required
Configures the copy.

Returns

ChartLineOptions The same instance.