FunnelSeries.Data Property
In This Article
Allows you to populate the series with data.
Namespace: DevExpress.WinUI.Charts
Assembly: DevExpress.WinUI.Charts.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
[DP(null, Handler = "DataPropertyChanged")]
public DataSourceBase Data { get; set; }
#Property Value
Type | Description |
---|---|
Data |
A data source. |
#Remarks
Refer to the following help topic on how to populate a chart with data: Load Chart Data.
#Example
This example creates a Funnel Chart, and customizes its legend and point label settings:
<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>
See Also