Skip to main content
A newer version of this page is available. .

FunnelSeriesView.TitlePosition Property

Specifies title position.

Namespace: DevExpress.WinUI.Charts

Assembly: DevExpress.WinUI.Charts.v22.1.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(SeriesTitlePosition.Top, Handler = "InvalidateLayout")]
public SeriesTitlePosition TitlePosition { get; set; }

Property Value

Type Description
SeriesTitlePosition

A value that specifies title position.

Available values:

Name Description
Top

A title is located on the top of a series.

Bottom

A title is located on the bottom of a series.

Example

The following example adds a title for a Funnel series, and specifies its content, color, margin, and font size:

A funnel with a customized title

<Charts:FunnelSeries.View>
    <Charts:FunnelSeriesView ShowTitle="True"
                             Title="Website Visitors"
                             TitlePosition="Top">
        <Charts:FunnelSeriesView.TitleContentTemplate>
            <DataTemplate>
                <TextBlock Text="{Binding}" 
                           Foreground="Gray" 
                           FontSize="20" 
                           Margin="0,0,0,20"/>
            </DataTemplate>
        </Charts:FunnelSeriesView.TitleContentTemplate>
    </Charts:FunnelSeriesView>
</Charts:FunnelSeries.View>
See Also