# ChartDecimationResult

Describes an explicit point-reduction result, including its source-index mapping.

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

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

**Modifiers**

sealed

Describes an explicit point-reduction result, including its source-index mapping.

## Inheritance

- object
- ChartDecimationResult

## 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.

### Returned or exposed by 1

- Method [ChartDecimator.Decimate](/api/chartforgex-core-chartdecimator/#method-decimate-collections-generic-ienumerable-chartforgex-primitives-chartpoint-int32-chartforgex-core-chartdecimationmode)

 Filter members   

    Show inherited   

 

## 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 IReadOnlyList<ChartPoint> Points { get; }` [#](#property-points) 

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

Gets the points retained for rendering.

 `public IReadOnlyList<int> SourceIndices { get; }` [#](#property-sourceindices) 

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

Gets the zero-based source index represented by each retained point.

 `public int SourcePointCount { get; }` [#](#property-sourcepointcount) 

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

Gets the number of points supplied before decimation.

 `public ChartDecimationMode Mode { get; }` [#](#property-mode) 

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

Gets the algorithm used to choose retained points.

 `public bool WasDecimated { get; }` [#](#property-wasdecimated) 

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

Gets whether the result contains fewer points than its source.

<!-- PowerForge markdown artifact sha256:52E62A5B5087DC37F6AB34B3C92DDB3DD919CEDE61F2E36EE0B7E0E5BF76DA73 -->
