corelibraries-devexpress-dot-xtracharts-dot-waterfallvalueoptionsbase-2c9e21e4.md
Returns a collection of waterfall chart subtotals.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
[PersistenceMode(PersistenceMode.InnerProperty)]
public SubtotalCollection Subtotals { get; }
<PersistenceMode(PersistenceMode.InnerProperty)>
Public ReadOnly Property Subtotals As SubtotalCollection
| Type | Description |
|---|---|
| SubtotalCollection |
A collection of Subtotal objects.
|
You can access this nested property as listed below:
| Object Type | Path to Subtotals |
|---|---|
| WaterfallSeriesView |
.ValueOptions .Subtotals
|
To add a subtotal to a waterfall chart, add a Subtotal object to the Subtotals collection. Use the Subtotal.PointIndex property to specify an index of a waterfall point, after which a subtotal should be inserted.
This example shows how to create a chart with a data series of the waterfall view.
See Also
WaterfallValueOptionsBase Class