Back to Devexpress

StackedBarTotalLabel Class

wpf-devexpress-dot-xpf-dot-charts-1b25ab32.md

latest3.0 KB
Original Source

StackedBarTotalLabel Class

The stacked bars’ total labels’ settings storage.

Namespace : DevExpress.Xpf.Charts

Assembly : DevExpress.Xpf.Charts.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public class StackedBarTotalLabel :
    ChartTextElement,
    ISeriesLabel,
    ISupportFlowDirection
vb
Public Class StackedBarTotalLabel
    Inherits ChartTextElement
    Implements ISeriesLabel,
               ISupportFlowDirection

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.

xaml
<dxc:XYDiagram2D.DefaultPane>
    <dxc:Pane>
        <dxc:BarStackedSeries2D.TotalLabel>
            <dxc:StackedBarTotalLabel TextPattern="Total:&#x0a;{TV:F1}" ConnectorVisible="True"/>
        </dxc:BarStackedSeries2D.TotalLabel>
    </dxc:Pane>
</dxc:XYDiagram2D.DefaultPane>

Inheritance

Show 11 items

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ChartElementBase ChartElement ChartTextElement StackedBarTotalLabel

See Also

StackedBarTotalLabel Members

DevExpress.Xpf.Charts Namespace