Skip to content
ChartForgeX
Struct

ChartRangeBand

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Base
ValueType
Modifiers
sealed

Represents one x position with lower and upper band values.

Inheritance

  • ValueType
  • ChartRangeBand

Usage

Explore 12 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

Accepted by parameters 9

Constructors

ChartRangeBand 2 overloads
public ChartRangeBand(double x, double lower, double upper, bool breakBefore = false) #

Initializes a new instance of the ChartRangeBand struct.

Parameters

x double required
The horizontal coordinate.
lower double required
The lower band value.
upper double required
The upper band value.
breakBefore bool = false optional
Whether both boundaries begin a disconnected segment.
public ChartRangeBand(DateTime x, double lower, double upper, bool breakBefore = false) #

Initializes a new instance of the ChartRangeBand struct from a date/time x value.

Parameters

x System.DateTime required
The date/time x value.
lower double required
The lower band value.
upper double required
The upper band value.
breakBefore bool = false optional
Whether both boundaries begin a disconnected segment.

Methods

public ChartRangeBand WithMarkOptions(ChartMarkOptions? options) #

Returns a copy with replacement mark metadata, retaining all authored values.

Parameters

options ChartForgeX.Core.ChartMarkOptions? required
Immutable metadata, or null to clear it.

Returns

ChartRangeBand A new observation. The current observation is unchanged.

Properties

public bool BreakBefore { get; } #

Gets whether both boundaries begin a disconnected segment at this observation.

public ChartMarkOptions? MarkOptions { get; } #

Gets optional immutable navigation, accessibility and host metadata.

Fields

public readonly double X #

Gets the horizontal coordinate.

public readonly double Lower #

Gets the lower band value.

public readonly double Upper #

Gets the upper band value.