Back to Devexpress

Subtotal Class

corelibraries-devexpress-dot-xtracharts-e02b6fae.md

latest2.4 KB
Original Source

Subtotal Class

A waterfall subtotal.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public class Subtotal :
    ChartElement,
    ISubtotal,
    INotifyPropertyChanged
vb
Public Class Subtotal
    Inherits ChartElement
    Implements ISubtotal,
               INotifyPropertyChanged

The following members return Subtotal objects:

Remarks

To add a subtotal to a waterfall chart, add a Subtotal object to the WaterfallValueOptionsBase.Subtotals collection. Specify the PointIndex to set the subtotal position. To change the subtotal’s axis label and crosshair text, define the Label property.

Example

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

Inheritance

Object ChartElement Subtotal

See Also

Subtotal Members

DevExpress.XtraCharts Namespace