Sparkline
ChartForgeX.Core
A compact chart over the shared Cartesian compiler, with explicit missing-observation semantics.
Inheritance
- object
- Sparkline
Usage
Explore 16 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.
Returned or exposed by 8
- Extension method Sparkline.Color
- Extension method Sparkline.Smooth
- Extension method Sparkline.Style
- Extension method Sparkline.ValueFormat
- Method SparklineFluent.Color
- Method SparklineFluent.Smooth
- Method SparklineFluent.Style
- Method SparklineFluent.ValueFormat
Accepted by parameters 8
- Extension method Sparkline.Color
- Extension method Sparkline.Smooth
- Extension method Sparkline.Style
- Extension method Sparkline.ValueFormat
- Method SparklineFluent.Color
- Method SparklineFluent.Smooth
- Method SparklineFluent.Style
- Method SparklineFluent.ValueFormat
Constructors
public Sparkline(SparklineData data) #Creates a compact visual from detached sample data.
Parameters
- data ChartForgeX.Core.SparklineData
Methods
public PreparedVisual Prepare(VisualRenderContext context) #Prepares compact marks through the same compiler and frame contract as a full Cartesian chart.
Parameters
- context ChartForgeX.Rendering.VisualRenderContext
Returns
PreparedVisualInherited Methods
Properties
public ChartColor? Color { get; set; } #Gets or sets the optional series colour; null uses the shared theme.
public bool Smooth { get; set; } #Gets or sets whether line and area segments use the shared curve interpolation.
public ChartValueFormat ValueFormat { get; set; } #Gets or sets the shared numeric display policy, compact by default.
Extension 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);