PieTotalLabel Class
The pie’s total labels settings storage.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v19.2.dll
Declaration
public class PieTotalLabel :
ChartElement,
ICloneable,
ISupportFlowDirection,
IBindingPropertiesSource,
IHitTestableElement,
IInteractiveElement
Related API Members
The following members return PieTotalLabel objects:
Remarks
The instance of the class configures pie’s total labels’ appearance and content.
Note
If the PieTotalLabel.TextPattern and PieTotalLabel.Content properties are specified simultaneously, the value of the Content property is used.
Example
Use the PieSeries2D.TotalLabel property to configure a Pie’s total labels.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-show-a-pie-series-total-label-t556355.
<dxc:PieSeries2D.TotalLabel>
<dxc:PieTotalLabel TextPattern="Total area
{TV:F2} km²"/>
</dxc:PieSeries2D.TotalLabel>
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the PieTotalLabel class.
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.