Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 46
Forks 2
NuGet downloads 62,324
Release ChartForgeX-v1.8.1
Language: HTML Updated: 2026-09-22

API Reference

Class

ChartDecimator

Namespace ChartForgeX.Core

Provides explicit point reduction for dense ordered chart series.

Inheritance

  • Object
  • ChartDecimator

Methods

Decimate(System.Collections.Generic.IEnumerable{ChartForgeX.Primitives.ChartPoint} points, System.Int32 maximumPoints, ChartForgeX.Core.ChartDecimationMode mode) #

Reduces an ordered point sequence while retaining its source-index mapping.

Parameters

points System.Collections.Generic.IEnumerable{ChartForgeX.Primitives.ChartPoint} required
The ordered source points.
maximumPoints System.Int32 required
The maximum number of rendered points. Must be at least three.
mode ChartForgeX.Core.ChartDecimationMode required
The deterministic reduction algorithm.

Returns

A reduction result that reports exactly what was retained.