Back to Devexpress

WaterfallValueOptionsBase.Subtotals Property

corelibraries-devexpress-dot-xtracharts-dot-waterfallvalueoptionsbase-2c9e21e4.md

latest2.7 KB
Original Source

WaterfallValueOptionsBase.Subtotals Property

Returns a collection of waterfall chart subtotals.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[PersistenceMode(PersistenceMode.InnerProperty)]
public SubtotalCollection Subtotals { get; }
vb
<PersistenceMode(PersistenceMode.InnerProperty)>
Public ReadOnly Property Subtotals As SubtotalCollection

Property Value

TypeDescription
SubtotalCollection

A collection of Subtotal objects.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to Subtotals
WaterfallSeriesView

.ValueOptions .Subtotals

|

Remarks

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.

Example

This example shows how to create a chart with a data series of the waterfall view.

See Also

WaterfallValueOptionsBase Class

WaterfallValueOptionsBase Members

DevExpress.XtraCharts Namespace