API Reference
Sparkline
A compact chart over the shared Cartesian compiler, with explicit missing-observation semantics.
Inheritance
- Object
- Sparkline
Usage
Explore 3 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 3
- Method Sparkline.WithColor
- Method Sparkline.WithStyle
- Method Sparkline.WithValueFormat
Constructors
public Sparkline(SparklineData data) #Creates a compact visual from detached sample data.
Parameters
- data ChartForgeX.Core.SparklineData
Methods
public PreparedVisual Prepare(VisualRenderContext context) #PreparedVisualPrepares compact marks through the same compiler and frame contract as a full Cartesian chart.
Parameters
- context ChartForgeX.Rendering.VisualRenderContext
public Sparkline WithColor(ChartColor? color) #SparklineSets the optional series colour.
Parameters
- color ChartForgeX.Primitives.ChartColor?
public Sparkline WithStyle(SparklineStyle style, Boolean smooth = false) #SparklineSets the mark style and optional curve interpolation.
Parameters
- style ChartForgeX.Core.SparklineStyle
- smooth System.Boolean = false
public Sparkline WithValueFormat(ChartValueFormat format) #SparklineSets the shared numeric display policy.
Parameters
- format ChartForgeX.Core.ChartValueFormat
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public SparklineData Data { get; } #Gets the immutable samples and resolved bounds.
public SparklineStyle Style { get; set; } #Gets or sets the compact mark style.
public ChartColor? Color { get; set; } #Gets or sets the optional series colour; null uses the shared theme.
public Boolean 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.