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

PieSeriesView.TotalLabel Property

Returns settings that configure the Pie series’ total label.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.1.dll

Declaration

[XtraSerializableProperty(XtraSerializationVisibility.Content)]
[XtraChartsLocalizableCategory(XtraChartsCategory.Elements)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public PieTotalLabel TotalLabel { get; }

Property Value

Type Description
PieTotalLabel

The Pie series’ total label settings storage.

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";

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TotalLabel property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also