# ChartDecimationMode

Names explicit, deterministic point-reduction algorithms for dense ordered series.

 Enum  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartDecimator.cs:9](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartDecimator.cs#L9)

**Base**

`Enum`

**Implements**

 `IComparable` `ISpanFormattable` `IFormattable` `IConvertible` 

**Modifiers**

sealed

Names explicit, deterministic point-reduction algorithms for dense ordered series.

## Inheritance

- Enum
- ChartDecimationMode

## Usage

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

- Field [ChartDecimationMode.LargestTriangleThreeBuckets](/api/chartforgex-core-chartdecimationmode/#field-largesttrianglethreebuckets)
- Field [ChartDecimationMode.MinMax](/api/chartforgex-core-chartdecimationmode/#field-minmax)
- Property [ChartDecimationResult.Mode](/api/chartforgex-core-chartdecimationresult/#property-mode)
- Property [ChartResolutionPolicy.DecimationMode](/api/chartforgex-core-chartresolutionpolicy/#property-decimationmode)
- Property [ChartSeries.DecimationMode](/api/chartforgex-core-chartseries/#property-decimationmode)

### Accepted by parameters 7

- Method [Chart.AddDecimatedArea](/api/chartforgex-core-chart/#method-adddecimatedarea-string-collections-generic-ienumerable-chartforgex-primitives-chartpoint-int32-chartforgex-core-chartdecimationmode-nullable-chartforgex-primitives-chartcolor) parameter `mode`
- Method [Chart.AddDecimatedLine](/api/chartforgex-core-chart/#method-adddecimatedline-string-collections-generic-ienumerable-chartforgex-primitives-chartpoint-int32-chartforgex-core-chartdecimationmode-nullable-chartforgex-primitives-chartcolor) parameter `mode`
- Method [Chart.AddDecimatedScatter](/api/chartforgex-core-chart/#method-adddecimatedscatter-string-collections-generic-ienumerable-chartforgex-primitives-chartpoint-int32-chartforgex-core-chartdecimationmode-nullable-chartforgex-primitives-chartcolor) parameter `mode`
- Method [ChartDecimator.Decimate](/api/chartforgex-core-chartdecimator/#method-decimate-collections-generic-ienumerable-chartforgex-primitives-chartpoint-int32-chartforgex-core-chartdecimationmode) parameter `mode`
- Extension method [ChartResolutionPolicy.DecimationMode](/api/chartforgex-core-chartresolutionpolicy/#extension-decimationmode-chartforgex-core-chartresolutionpolicy-chartforgex-core-chartdecimationmode) parameter `value`
- Method [ChartResolutionPolicyFluent.DecimationMode](/api/chartforgex-core-chartresolutionpolicyfluent/#method-decimationmode-chartforgex-core-chartresolutionpolicy-chartforgex-core-chartdecimationmode) parameter `value`
- Method [ChartSeries.CreateDecimated](/api/chartforgex-core-chartseries/#method-createdecimated-chartforgex-core-chartseriesid-string-chartforgex-core-chartserieskind-collections-generic-ienumerable-chartforgex-primitives-chartpoint-int32-chartforgex-core-chartdecimationmode-nullable-chartforgex-primitives-chartcolor) parameter `mode`

 Filter members   

    Show inherited   

 

## Inherited Methods

 `public int CompareTo(object? target)` [#](#method-compareto-object) 

Inherited from Enum

Parameters

**target object? required**

Returns

 `int` 

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

Inherited from Enum

Parameters

**obj object? required**

Returns

 `bool` 

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

Inherited from Enum

Returns

 `int` 

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

Inherited from object

Returns

 `Type` 

 `public TypeCode GetTypeCode()` [#](#method-gettypecode) 

Inherited from Enum

Returns

 `TypeCode` 

 `public bool HasFlag(Enum flag)` [#](#method-hasflag-enum) 

Inherited from Enum

Parameters

**flag Enum required**

Returns

 `bool` 

 ToString 4 overloads 

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

Inherited from Enum

Returns

 `string` 

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

Inherited from Enum

Parameters

**format string? required**

Returns

 `string` 

 `public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString() instead.")` 

Parameters

**provider IFormatProvider? required**

Returns

 `string` 

 `public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString(String) instead.")` 

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

 `string` 

## Values

 `public const ChartDecimationMode LargestTriangleThreeBuckets` [#](#field-largesttrianglethreebuckets) 

[ChartDecimator.cs:11](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartDecimator.cs#L11)

Preserve visual shape by selecting the point with the largest triangle area in each bucket.

Value: `0`

 `public const ChartDecimationMode MinMax` [#](#field-minmax) 

[ChartDecimator.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartDecimator.cs#L14)

Preserve local low and high values in source order for each bucket.

Value: `1`

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