BarStackedSeries2D.TotalLabel Attached Property
Gets or sets total labels’ settings associated with a diagram pane. This is a dependency property.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v19.2.dll
Declaration
Returns
Type | Description |
---|---|
StackedBarTotalLabel | The total labels’ settings storage. |
Remarks
This property is the attached property for the Pane class.
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>
See Also