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

ChartResolutionPolicy

Namespace ChartForgeX.Core
Assembly ChartForgeX
Modifiers sealed

Converts an intended render width into a bounded point budget for resolution-aware series.

Inheritance

  • Object
  • ChartResolutionPolicy

Usage

Explore 4 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

Accepted by parameters 3

Constructors

public ChartResolutionPolicy() #

Methods

public Int32 ResolvePointBudget(Double viewportWidth) #
Returns: Int32

Resolves the maximum rendered point count for an intended horizontal render width.

Parameters

viewportWidth System.Double requiredposition: 0
public static ChartResolutionPolicy Trend() #
Returns: ChartResolutionPolicy

Creates the report-friendly trend policy: two points per pixel, a 64-point floor, and automatic marker-density control.

Properties

public Double PointsPerPixel { get; set; } #

Gets or sets the number of rendered points allowed per horizontal pixel.

public Int32 MinimumPointCount { get; set; } #

Gets or sets the minimum point budget. The value must be at least three.

public Int32 MaximumPointCount { get; set; } #

Gets or sets the maximum point budget.

public Int32 MaximumMarkerCount { get; set; } #

Gets or sets the largest retained point count that still shows optional line or area markers. Zero suppresses markers for every adaptive series while preserving the connected path.

public ChartDecimationMode DecimationMode { get; set; } #

Gets or sets the deterministic decimation algorithm used when the source exceeds the resolved budget.