Skip to content
ChartForgeX
Struct

ChartProgressItem

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Base
ValueType
Modifiers
sealed

Represents one labeled value in a progress-bar chart.

Inheritance

  • ValueType
  • ChartProgressItem

Usage

Explore 5 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 4

Constructors

ChartProgressItem 2 overloads
public ChartProgressItem(string label, double value, ChartColor? color = null) #

Initializes a new instance of the ChartProgressItem struct.

Parameters

label string required
The item label.
value double required
The item value. Negative values are not allowed.
color ChartForgeX.Primitives.ChartColor? = null optional
An optional color for this item.
public ChartProgressItem(string label, double value, double minimum, double maximum, ChartColor? color = null) #

Creates a row with its own finite positive numeric span. Raw readings may lie outside the span; only paint and editing gestures clamp.

Parameters

label string required
value double required
minimum double required
maximum double required
color ChartForgeX.Primitives.ChartColor? = null optional

Properties

public double Minimum { get; } #

Gets the row minimum. Shared-maximum items start at zero.

public double? Maximum { get; } #

Gets the explicit row maximum, or null to use the chart shared maximum.

Fields

public readonly string Label #

Gets the item label.

public readonly double Value #

Gets the item value.

public readonly ChartColor? Color #

Gets the optional item color.