Skip to main content

FunnelSeriesView Class

Represents a series view of the Funnel type.

Namespace: DevExpress.WinUI.Charts

Assembly: DevExpress.WinUI.Charts.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

public class FunnelSeriesView :
    SeriesView,
    ISupportPercentValue

The following members return FunnelSeriesView objects:

Remarks

A particular view type can be defined for a series via its Series.View property.

Example

This example creates a Funnel Chart, and customizes its legend and point label settings:

Funnel chart

<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:FunnelChart"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:Charts="using:DevExpress.WinUI.Charts"
    x:Class="FunnelChart.MainWindow"
    mc:Ignorable="d">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Charts:FunnelChart ToolTipEnabled="True" Margin="50,50,50,50">
            <Charts:FunnelChart.Legend>
                <Charts:Legend Orientation="Vertical"/>
            </Charts:FunnelChart.Legend>
            <Charts:FunnelSeries>
                <Charts:FunnelSeries.View>
                    <Charts:FunnelSeriesView PointDistance="5" 
                                             ShowLabels="True" 
                                             LabelPattern="{}{A}: {VP:p0}" 
                                             LabelPosition="Right"/>
                </Charts:FunnelSeries.View>
                <Charts:PointDataCollection>
                    <Charts:PointData Argument="Visited a Web Site" Value="9152" />
                    <Charts:PointData Argument="Downloaded a Trial" Value="6870" />
                    <Charts:PointData Argument="Contacted to Support" Value="5121" />
                    <Charts:PointData Argument="Subscribed" Value="2224" />
                    <Charts:PointData Argument="Renewed" Value="1670" />
                </Charts:PointDataCollection>
            </Charts:FunnelSeries>
        </Charts:FunnelChart>
    </Grid>
</Window>

Inheritance

Object
DependencyObject
UIElement
FrameworkElement
DevExpress.WinUI.Core.Internal.DXLogicalFrameworkElement
See Also