Project

ChartForgeX

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

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

ChartDecimator

Namespace ChartForgeX.Core
Assembly ChartForgeX
Modifiers static

Provides explicit point reduction for dense ordered chart series.

Inheritance

  • Object
  • ChartDecimator

Methods

public static ChartDecimationResult Decimate(IEnumerable<ChartPoint> points, Int32 maximumPoints, ChartDecimationMode mode = LargestTriangleThreeBuckets) #
Returns: ChartDecimationResult

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

Parameters

points System.Collections.Generic.IEnumerable<ChartForgeX.Primitives.ChartPoint> requiredposition: 0
The ordered source points.
maximumPoints System.Int32 requiredposition: 1
The maximum number of rendered points. Must be at least three.
mode ChartForgeX.Core.ChartDecimationMode = LargestTriangleThreeBuckets optionalposition: 2
The deterministic reduction algorithm.

Returns

A reduction result that reports exactly what was retained.