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

ChartPoints

Namespace ChartForgeX.Core
Assembly ChartForgeX
Modifiers static

Creates common ChartPoint sequences for chart series.

Inheritance

  • Object
  • ChartPoints

Methods

FromValues 3 overloads
public static ChartPoint[] FromValues(params Double[] values) #
Returns: ChartPoint[]

Creates one-based x/y points from y values.

Parameters

values System.Double[] requiredposition: 0
The y values.

Returns

Chart points with x values starting at one.

public static ChartPoint[] FromValues(IEnumerable<Double> values) #
Returns: ChartPoint[]

Creates one-based x/y points from y values.

Parameters

values System.Collections.Generic.IEnumerable<System.Double> requiredposition: 0
The y values.

Returns

Chart points with x values starting at one.

public static ChartPoint[] FromValues(IEnumerable<Double?> values, ChartMissingDataPolicy missingDataPolicy = Gap) #
Returns: ChartPoint[]

Creates one-based finite points, preserving missing slots as horizontal gaps and segment breaks.

Parameters

values System.Collections.Generic.IEnumerable<System.Double?> requiredposition: 0
missingDataPolicy ChartForgeX.Core.ChartMissingDataPolicy = Gap optionalposition: 1
FromXY 2 overloads
public static ChartPoint[] FromXY(IEnumerable<Double> x, IEnumerable<Double> y) #
Returns: ChartPoint[]

Creates x/y points from matching x and y value sequences.

Parameters

x System.Collections.Generic.IEnumerable<System.Double> requiredposition: 0
The x values.
y System.Collections.Generic.IEnumerable<System.Double> requiredposition: 1
The y values.

Returns

Chart points using the supplied x and y values.

public static ChartPoint[] FromXY(IEnumerable<Double> x, IEnumerable<Double?> y, ChartMissingDataPolicy missingDataPolicy = Gap) #
Returns: ChartPoint[]

Creates finite points from matching positions and nullable observations. Missing slots retain their supplied positions.

Parameters

x System.Collections.Generic.IEnumerable<System.Double> requiredposition: 0
y System.Collections.Generic.IEnumerable<System.Double?> requiredposition: 1
missingDataPolicy ChartForgeX.Core.ChartMissingDataPolicy = Gap optionalposition: 2