Class
SparklineFluent
ChartForgeX.Core
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
- The instance.
- value ChartForgeX.Primitives.ChartColor?
- The value.
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
- The instance.
- value bool = true
- The value; true when omitted.
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
- The instance.
- value ChartForgeX.Core.SparklineStyle
- The value.
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
- The instance.
- value ChartForgeX.Core.ChartValueFormat
- The value.
Examples
// C# initializer or property // C# fluent
sparkline.ValueFormat = value; sparkline.ValueFormat(value);