Skip to content
ChartForgeX
Struct

ChartInterval

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Base
ValueType
Modifiers
sealed

Represents one category or x-value with a start and end value.

Inheritance

  • ValueType
  • ChartInterval

Usage

Explore 9 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.

Accepted by parameters 6

Constructors

ChartInterval 2 overloads
public ChartInterval(double x, double start, double end) #

Initializes a new instance of the ChartInterval struct.

Parameters

x double required
The category coordinate.
start double required
The interval start value.
end double required
The interval end value.
public ChartInterval(DateTime x, double start, double end) #

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

Parameters

x System.DateTime required
The date/time category coordinate.
start double required
The interval start value.
end double required
The interval end value.

Methods

public ChartInterval 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

ChartInterval A new observation. The current observation is unchanged.

Properties

public ChartMarkOptions? MarkOptions { get; } #

Gets optional immutable navigation, accessibility and host metadata.

Fields

public readonly double X #

Gets the category coordinate, mapped to X for vertical range bars and Y for horizontal range bars.

public readonly double Start #

Gets the interval start value.

public readonly double End #

Gets the interval end value.