Skip to content
ChartForgeX
Class

ChartColorBand

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
sealed

An immutable discrete numeric band. Its upper bound is exclusive; null ends the final unbounded band.

Inheritance

  • object
  • ChartColorBand

Usage

Explore 2 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 1

Accepted by parameters 1

Constructors

public ChartColorBand(double? upperBound, ChartColor color, string? label = null) #

Creates a band ending before upperBound, or an unbounded final band.

Parameters

upperBound double? required
A finite exclusive upper bound, or null for the final band.
color ChartForgeX.Primitives.ChartColor required
The color for every value in the band.
label string? = null optional
An optional band name shown with its interval in legends.

Properties

public double? UpperBound { get; } #

Gets the exclusive upper bound, or null for the final unbounded band.

public ChartColor Color { get; } #

Gets the color assigned to the band.

public string? Label { get; } #

Gets the optional normalized band name.