corelibraries-devexpress-dot-xtracharts-58b60454.md
The pie’s total labels settings storage.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
public class PieTotalLabel :
TotalLabel
Public Class PieTotalLabel
Inherits TotalLabel
The following members return PieTotalLabel objects:
The instance of the class configures pie’s total labels’ appearance and content.
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";
Dim totalLabel As PieTotalLabel = CType(pieChart.Series("Country Areas").View, DoughnutSeriesView).TotalLabel
totalLabel.Visible = True
totalLabel.TextPattern = "Total area" & vbLf & "{TV:F2} km" & ChrW(&HB2).ToString()
Object ChartElement TotalLabel PieTotalLabel
See Also