API Reference
SparklineData
A detached sequence of compact-chart sample slots, where null is missing and zero is a real observation.
Inheritance
- Object
- SparklineData
Usage
Explore 11 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 6
- Property VisualCanvasInfoTileLayer.SparklineData
- Property Sparkline.Data
- Method SparklineData.FromValues
- Property ChartTableCell.SparklineData
- Property MetricCard.SecondarySparklineData
- Property MetricCard.SparklineData
Accepted by parameters 5
- Method VisualCanvasInfoTileLayer.WithSparkline
- Constructor Sparkline.Sparkline
- Method ChartTableCell.WithSparkline
- Method MetricCard.WithSecondarySparkline
- Method MetricCard.WithSparkline
Constructors
public SparklineData(IEnumerable<Double?> values, Double? minimum = null, Double? maximum = null, ChartMissingDataPolicy missingDataPolicy = Gap, Boolean includeZero = false) #Copies sample slots and resolves a shared numeric domain. All-missing data uses zero through one.
Parameters
- values System.Collections.Generic.IEnumerable<System.Double?>
- minimum System.Double? = null
- maximum System.Double? = null
- missingDataPolicy ChartForgeX.Core.ChartMissingDataPolicy = Gap
- includeZero System.Boolean = false
Methods
public static SparklineData FromValues(IEnumerable<Double> values, Double? minimum = null, Double? maximum = null, Boolean includeZero = false) #SparklineDataCopies finite observations into sample slots without introducing missing values.
Parameters
- values System.Collections.Generic.IEnumerable<System.Double>
- minimum System.Double? = null
- maximum System.Double? = null
- includeZero System.Boolean = false
public ChartPoint[] ToPoints() #ChartPoint[]Creates finite points with one-based sample positions and explicit segment breaks.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public IReadOnlyList<Double?> Values { get; } #Gets original sample slots, including missing leading, trailing and interior observations.
public ChartMissingDataPolicy MissingDataPolicy { get; } #Gets the missing-observation connection policy.
public Double Minimum { get; } #Gets the resolved finite lower display bound.
public Double Maximum { get; } #Gets the resolved finite upper display bound.
public Boolean IncludeZero { get; } #Gets whether automatic bounds include zero. Explicit bounds take precedence.