Class
ChartRangeBands
ChartForgeX.Core
Materializes typed paired observations from nullable sample slots without synthesizing values.
Inheritance
- object
- ChartRangeBands
Methods
public static ChartRangeBand[] FromXY(IEnumerable<double> x, IEnumerable<double?> lower, IEnumerable<double?> upper, ChartMissingDataPolicy missingDataPolicy = Gap, CancellationToken cancellationToken = default) #Omits incomplete pairs. Gap starts a new segment after a missing slot; Connect joins the surviving pairs.
Parameters
- x System.Collections.Generic.IEnumerable<double>
- Finite X positions, including positions whose pair is incomplete.
- lower System.Collections.Generic.IEnumerable<double?>
- Nullable finite lower values.
- upper System.Collections.Generic.IEnumerable<double?>
- Nullable finite upper values.
- missingDataPolicy ChartForgeX.Core.ChartMissingDataPolicy = Gap
- The explicit missing-slot policy. No policy interpolates or inserts source values.
- cancellationToken System.Threading.CancellationToken = default
- Cancellation checked during materialization; no series is changed on failure.
Returns
ChartRangeBand[] Complete typed pairs in source order. Observation indices address these returned pairs.