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

Struct

ChartPoint

Namespace ChartForgeX.Primitives
Assembly ChartForgeX
Base ValueType
Modifiers sealed

Represents one data point in chart coordinate space.

Inheritance

  • ValueType
  • ChartPoint

Usage

Explore 72 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.

Accepted by parameters 57

Constructors

ChartPoint 4 overloads
public ChartPoint(Double x, Double y) #

Initializes a new instance of the ChartPoint struct.

Parameters

x System.Double requiredposition: 0
The horizontal coordinate.
y System.Double requiredposition: 1
The vertical coordinate.
public ChartPoint(Double x, Double y, Boolean breakBefore) #

Creates a finite point and optionally starts a disconnected line or area segment.

Parameters

x System.Double requiredposition: 0
y System.Double requiredposition: 1
breakBefore System.Boolean requiredposition: 2
public ChartPoint(DateTime x, Double y) #

Initializes a new instance of the ChartPoint struct from a date/time x value. The x value is stored as a UTC instant: DateTimeKind.Local values are converted to UTC and DateTimeKind.Unspecified values are treated as UTC.

Parameters

x System.DateTime requiredposition: 0
The date/time x value.
y System.Double requiredposition: 1
The vertical coordinate.
public ChartPoint(DateTime x, Double y, Boolean breakBefore) #

Creates a date/time point (stored as a UTC instant, see ChartPoint.ChartPoint) and optionally starts a disconnected line or area segment.

Parameters

x System.DateTime requiredposition: 0
y System.Double requiredposition: 1
breakBefore System.Boolean requiredposition: 2

Methods

public static ChartPoint FromDateTime(DateTime x, Double y) #
Returns: ChartPoint

Creates a chart point from a date/time x value.

Parameters

x System.DateTime requiredposition: 0
The date/time x value.
y System.Double requiredposition: 1
The vertical coordinate.

Returns

A chart point using the date/time as the x value.

public ChartPoint WithColorValue(Double? value) #
Returns: ChartPoint

Returns an independent point with the same coordinates and segment boundary and a replacement color measurement.

Parameters

value System.Double? requiredposition: 0
The finite numeric color measurement, or null to clear it.

Returns

A new point. The current point is unchanged.

Properties

public Boolean BreakBefore { get; } #

Gets whether a new disconnected line or area segment starts at this point.

public Double? ColorValue { get; } #

Gets the independent numeric color measurement, or null when no measurement is supplied.

Fields

public readonly Double X #

Gets the horizontal coordinate.

public readonly Double Y #

Gets the vertical coordinate.