# ChartColorStop

An immutable color anchored at an absolute finite numeric value.

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartColorStop.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartColorStop.cs#L12)

**Modifiers**

sealed

An immutable color anchored at an absolute finite numeric value.

## Inheritance

- object
- ChartColorStop

## 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 [ChartColorScale.Stops](/api/chartforgex-core-chartcolorscale/#property-stops)

### Accepted by parameters 4

- Method [ChartColorScale.Diverging](/api/chartforgex-core-chartcolorscale/#method-diverging-collections-generic-ienumerable-chartforgex-core-chartcolorstop-chartforgex-core-chartcolorstop-collections-generic-ienumerable-chartforgex-core-chartcolorstop) parameter `highStops`
- Method [ChartColorScale.Diverging](/api/chartforgex-core-chartcolorscale/#method-diverging-collections-generic-ienumerable-chartforgex-core-chartcolorstop-chartforgex-core-chartcolorstop-collections-generic-ienumerable-chartforgex-core-chartcolorstop) parameter `lowStops`
- Method [ChartColorScale.Diverging](/api/chartforgex-core-chartcolorscale/#method-diverging-collections-generic-ienumerable-chartforgex-core-chartcolorstop-chartforgex-core-chartcolorstop-collections-generic-ienumerable-chartforgex-core-chartcolorstop) parameter `midpoint`
- Method [ChartColorScale.Sequential](/api/chartforgex-core-chartcolorscale/#method-sequential-collections-generic-ienumerable-chartforgex-core-chartcolorstop) parameter `stops`

 Filter members   

    Show inherited   

 

## Constructors

 `public ChartColorStop(double value, ChartColor color)` [#](#constructor-ctor-double-chartforgex-primitives-chartcolor) 

[ChartColorStop.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartColorStop.cs#L12)

Creates a continuous color anchor in the data value's units.

Parameters

**value double required**

The finite numeric value at which the color is exact.

**color ChartForgeX.Primitives.ChartColor required**

The color at the anchor.

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

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

Inherited from object

Returns

 `int` 

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

Inherited from object

Returns

 `Type` 

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

Inherited from object

Returns

 `string?` 

## Properties

 `public double Value { get; }` [#](#property-value) 

[ChartColorStop.cs:20](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartColorStop.cs#L20)

Gets the absolute numeric anchor, rather than a normalized offset.

 `public ChartColor Color { get; }` [#](#property-color) 

[ChartColorStop.cs:23](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartColorStop.cs#L23)

Gets the color assigned exactly at the anchor.

<!-- PowerForge markdown artifact sha256:FC1D4E5F3FA21C4D5CD82677264630CF356B19695D53598C1A72DBDF717CB083 -->
