# ChartProgressItem

Represents one labeled value in a progress-bar chart.

 Struct  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartProgressItem.cs:38](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartProgressItem.cs#L38)

**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

- Property [ChartSeries.ProgressItems](/api/chartforgex-core-chartseries/#property-progressitems)

### Accepted by parameters 4

- Method [Chart.AddProgressBars](/api/chartforgex-core-chart/#method-addprogressbars-string-collections-generic-ienumerable-chartforgex-core-chartprogressitem-double-nullable-chartforgex-primitives-chartcolor) parameter `items`
- Method [ChartSeries.CreateProgressBars](/api/chartforgex-core-chartseries/#method-createprogressbars-chartforgex-core-chartseriesid-string-collections-generic-ienumerable-chartforgex-core-chartprogressitem-nullable-chartforgex-primitives-chartcolor) parameter `items`
- Method [ChartSeries.ReplaceProgressItems](/api/chartforgex-core-chartseries/#method-replaceprogressitems-collections-generic-ienumerable-chartforgex-core-chartprogressitem) parameter `items`
- Method [ChartSeries.UpdateProgressItem](/api/chartforgex-core-chartseries/#method-updateprogressitem-int32-chartforgex-core-chartprogressitem) parameter `item`

 Filter members   

    Show inherited   

 

## Constructors

 ChartProgressItem 2 overloads 

 `public ChartProgressItem(string label, double value, ChartColor? color = null)` [#](#constructor-ctor-string-double-nullable-chartforgex-primitives-chartcolor) 

[ChartProgressItem.cs:38](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartProgressItem.cs#L38)

Initializes a new instance of the [ChartProgressItem](/api/chartforgex-core-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)` [#](#constructor-ctor-string-double-double-double-nullable-chartforgex-primitives-chartcolor) 

[ChartProgressItem.cs:48](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartProgressItem.cs#L48)

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**

## Inherited Methods

 `public override bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from ValueType

Parameters

**obj object? required**

Returns

 `bool` 

 `public override int GetHashCode()` [#](#method-gethashcode) 

Inherited from ValueType

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public override string? ToString()` [#](#method-tostring) 

Inherited from ValueType

Returns

 `string?` 

## Properties

 `public double Minimum { get; }` [#](#property-minimum) 

[ChartProgressItem.cs:21](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartProgressItem.cs#L21)

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

 `public double? Maximum { get; }` [#](#property-maximum) 

[ChartProgressItem.cs:24](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartProgressItem.cs#L24)

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

## Fields

 `public readonly string Label` [#](#field-label) 

[ChartProgressItem.cs:13](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartProgressItem.cs#L13)

Gets the item label.

 `public readonly double Value` [#](#field-value) 

[ChartProgressItem.cs:18](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartProgressItem.cs#L18)

Gets the item value.

 `public readonly ChartColor? Color` [#](#field-color) 

[ChartProgressItem.cs:29](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartProgressItem.cs#L29)

Gets the optional item color.

<!-- PowerForge markdown artifact sha256:61BD0C843710D9B17D448A3B6E4E71F43595CCB0438A0BE3D9C466BFF3EA0DAE -->
