# ChartParetoItem

Represents one labeled value used to build a Pareto chart.

 Struct  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartParetoItem.cs:26](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartParetoItem.cs#L26)

**Base**

`ValueType`

**Modifiers**

sealed

Represents one labeled value used to build a Pareto chart.

## Inheritance

- ValueType
- ChartParetoItem

## Usage

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

- Method [Chart.AddPareto](/api/chartforgex-core-chart/#method-addpareto-string-collections-generic-ienumerable-chartforgex-core-chartparetoitem-nullable-chartforgex-primitives-chartcolor-nullable-chartforgex-primitives-chartcolor) parameter `items`

 Filter members   

    Show inherited   

 

## Constructors

 `public ChartParetoItem(string label, double value)` [#](#constructor-ctor-string-double) 

[ChartParetoItem.cs:26](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartParetoItem.cs#L26)

Initializes a new instance of the [ChartParetoItem](/api/chartforgex-core-chartparetoitem/) struct.

Parameters

**label string required**

The category label.

**value double required**

The non-negative item value.

## 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?` 

## Fields

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

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

Gets the category label.

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

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

Gets the non-negative item value.

<!-- PowerForge markdown artifact sha256:83472605992491F2928432D7CCB59A17DA81FA63EEAF316B9FC7D7F90A9B2AAF -->
