Skip to content
ChartForgeX
Class

SparklineFluent

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
static

The fluent methods of Sparkline, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • SparklineFluent

Methods

public static Sparkline Color(Sparkline sparkline, ChartColor? value) #

Sets Sparkline.Color: Gets or sets the optional series colour; null uses the shared theme.

Parameters

sparkline ChartForgeX.Core.Sparkline required
The instance.
value ChartForgeX.Primitives.ChartColor? required
The value.

Returns

Sparkline The same instance.

Examples

// C# initializer or property    // C# fluent
sparkline.Color = value;         sparkline.Color(value);
public static Sparkline Smooth(Sparkline sparkline, bool value = true) #

Sets Sparkline.Smooth: Gets or sets whether line and area segments use the shared curve interpolation.

Parameters

sparkline ChartForgeX.Core.Sparkline required
The instance.
value bool = true optional
The value; true when omitted.

Returns

Sparkline The same instance.

Examples

// C# initializer or property    // C# fluent
sparkline.Smooth = value;        sparkline.Smooth(value);
public static Sparkline Style(Sparkline sparkline, SparklineStyle value) #

Sets Sparkline.Style: Gets or sets the compact mark style.

Parameters

sparkline ChartForgeX.Core.Sparkline required
The instance.
value ChartForgeX.Core.SparklineStyle required
The value.

Returns

Sparkline The same instance.

Examples

// C# initializer or property    // C# fluent
sparkline.Style = value;         sparkline.Style(value);
public static Sparkline ValueFormat(Sparkline sparkline, ChartValueFormat value) #

Sets Sparkline.ValueFormat: Gets or sets the shared numeric display policy, compact by default.

Parameters

sparkline ChartForgeX.Core.Sparkline required
The instance.
value ChartForgeX.Core.ChartValueFormat required
The value.

Returns

Sparkline The same instance.

Examples

// C# initializer or property     // C# fluent
sparkline.ValueFormat = value;    sparkline.ValueFormat(value);