StackedBarTotalLabel Class
The stacked bars’ total labels’ settings storage.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v18.2.dll
Declaration
Related API Members
The following members return StackedBarTotalLabel objects:
Remarks
The instance of the class configures stacked bars’ total labels’ appearance and content.
Example
The Pane class’s BarStackedSeries2D.TotalLabel attached property allows you to configure total labels of stacked bars that are in the pane. Note that different panes have different settings for total labels, and it does not apply the same changes to other panes.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-show-a-bar-series-total-labels-t556315.
<dxc:XYDiagram2D.DefaultPane>
<dxc:Pane>
<dxc:BarStackedSeries2D.TotalLabel>
<dxc:StackedBarTotalLabel TextPattern="Total:
{TV:F1}" ConnectorVisible="True"/>
</dxc:BarStackedSeries2D.TotalLabel>
</dxc:Pane>
</dxc:XYDiagram2D.DefaultPane>
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the StackedBarTotalLabel 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.