API Reference
ChartWaterfallItem
An immutable opening balance, change or calculated checkpoint at an explicit waterfall display coordinate.
Inheritance
- Object
- ChartWaterfallItem
Usage
Explore 6 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 5
- Property ChartSeries.WaterfallItems
- Method ChartWaterfallItem.Delta
- Method ChartWaterfallItem.OpeningBalance
- Method ChartWaterfallItem.Subtotal
- Method ChartWaterfallItem.Total
Accepted by parameters 1
- Method Chart.AddWaterfall
Methods
public static ChartWaterfallItem Delta(Double x, Double value) #ChartWaterfallItemCreates a finite change to the running balance at the supplied display coordinate.
Parameters
- x System.Double
- value System.Double
public static ChartWaterfallItem Delta(DateTime x, Double value) #ChartWaterfallItemCreates a change at a date/time coordinate, using the same UTC conversion as ChartPoint.
Parameters
- x System.DateTime
- value System.Double
public static ChartWaterfallItem OpeningBalance(Double x, Double value) #ChartWaterfallItemCreates a finite opening balance drawn from zero. It must be the first item and may occur only once.
Parameters
- x System.Double
- value System.Double
public static ChartWaterfallItem OpeningBalance(DateTime x, Double value) #ChartWaterfallItemCreates an opening balance at a date/time coordinate, using the same UTC conversion as ChartPoint.
Parameters
- x System.DateTime
- value System.Double
public static ChartWaterfallItem Subtotal(Double x) #ChartWaterfallItemCreates a subtotal spanning the preceding checkpoint balance to the current balance, without changing that balance.
Parameters
- x System.Double
public static ChartWaterfallItem Subtotal(DateTime x) #ChartWaterfallItemCreates a subtotal at a date/time coordinate, using the same UTC conversion as ChartPoint.
Parameters
- x System.DateTime
public static ChartWaterfallItem Total(Double x) #ChartWaterfallItemCreates a cumulative total drawn from zero, without changing the running balance.
Parameters
- x System.Double
public static ChartWaterfallItem Total(DateTime x) #ChartWaterfallItemCreates a cumulative total at a date/time coordinate, using the same UTC conversion as ChartPoint.
Parameters
- x System.DateTime
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
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.