Skip to content
ChartForgeX
Class

ChartWaterfallItem

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
sealed

An immutable opening balance, change or calculated checkpoint at an explicit waterfall display coordinate.

Inheritance

  • object
  • ChartWaterfallItem

Usage

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

Methods

Delta 2 overloads
public static ChartWaterfallItem Delta(double x, double value) #

Creates a finite change to the running balance at the supplied display coordinate.

Parameters

x double required
value double required
public static ChartWaterfallItem Delta(DateTime x, double value) #

Creates a change at a date/time coordinate, using the same UTC conversion as ChartPoint.

Parameters

x System.DateTime required
value double required
OpeningBalance 2 overloads
public static ChartWaterfallItem OpeningBalance(double x, double value) #

Creates a finite opening balance drawn from zero. It must be the first item and may occur only once.

Parameters

x double required
value double required
public static ChartWaterfallItem OpeningBalance(DateTime x, double value) #

Creates an opening balance at a date/time coordinate, using the same UTC conversion as ChartPoint.

Parameters

x System.DateTime required
value double required
Subtotal 2 overloads
public static ChartWaterfallItem Subtotal(double x) #

Creates a subtotal spanning the preceding checkpoint balance to the current balance, without changing that balance.

Parameters

x double required
public static ChartWaterfallItem Subtotal(DateTime x) #

Creates a subtotal at a date/time coordinate, using the same UTC conversion as ChartPoint.

Parameters

x System.DateTime required
Total 2 overloads
public static ChartWaterfallItem Total(double x) #

Creates a cumulative total drawn from zero, without changing the running balance.

Parameters

x double required
public static ChartWaterfallItem Total(DateTime x) #

Creates a cumulative total at a date/time coordinate, using the same UTC conversion as ChartPoint.

Parameters

x System.DateTime required

Properties

public double X { get; } #

Gets the display coordinate. Items accumulate in input order, independently of axis reversal.

public ChartWaterfallItemKind Kind { get; } #

Gets whether the item supplies an opening balance or change, or requests a calculated subtotal or total.

public double? Value { get; } #

Gets the supplied opening balance or change, or null for a calculated checkpoint.