Skip to main content
A newer version of this page is available. .

PieTotalLabel Class

The pie’s total labels settings storage.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts

Declaration

public class PieTotalLabel :
    TotalLabel

The following members return PieTotalLabel objects:

Remarks

The instance of the class configures pie’s total labels’ appearance and content.

PieTotalLabel

Example

Use the PieSeriesView.TotalLabel property to access settings that configure a Pie (Doughnut) series’ Total Label.

PieTotalLabel totalLabel = ((DoughnutSeriesView)pieChart.Series["Country Areas"].View).TotalLabel;
totalLabel.Visible = true;
totalLabel.TextPattern = "Total area\n{TV:F2} km\xB2";

Inheritance

See Also