FunnelSeries
Displays data points as vertically stacked funnel segments whose geometry reflects their values and layout settings.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public class FunnelSeries : ChartSeries, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement, IChartSeries, IChartElementPresenter, IAxisProvider
Inheritance: objectDisposableObjectRadObjectUIChartElementChartSeriesFunnelSeries...
Implements:
Inherited Members
Constructors
Creates a funnel series without value or legend-title member bindings.
public FunnelSeries()
Creates a funnel series bound to the specified value member.
public FunnelSeries(string valueMember)
The source member that supplies each segment's value.
Fields
Identifies the alignment used to position labels within funnel segments.
public static RadProperty LabelAlignmentProperty
Properties
Gets or sets how segments height is calculated. When false all the segments will share the same height. When true the height of each segment is determined according to its value. Default value is true.
public bool DynamicHeight { get; set; }
Gets or sets whether the form of each segment will be based on the ratio between the value from the current and the next segment. Default value is false.
public bool DynamicSlope { get; set; }
Gets or sets the alignemnt of the label of each funnel segment.
public ContentAlignment LabelAlignment { get; set; }
Gets or sets the source member bound to each funnel point's legend title.
[Browsable(true)]
public string LegendTitleMember { get; set; }
Changing this member updates the binding used to populate legend titles.
Gets the model that computes funnel segment geometry and layout.
public override ChartSeriesModel Model { get; }
Overrides:
Gets or sets the ratio between the top and the bottom bases of the whole funnel series. The property can take effect only if the DynamicSlope property is set to false.
public float NeckRatio { get; set; }
Gets or sets the space between the different segments of the funnel chart in pixels.
public int SegmentSpacing { get; set; }
Gets or sets the source member bound to each funnel point's value.
[Browsable(true)]
public string ValueMember { get; set; }
Changing this member updates the binding used to populate point values.
Methods
Binds the configured value and legend-title members and invalidates the funnel's prepared data.
protected override void BindMembers()
Overrides:
Creates the default data point type for this series.
Creates the funnel model and data-point collection, and subscribes to collection resets to clear the funnel area's legend items.
protected override ChartDataPointCollection CreateModel()
The collection used to store this series' funnel data points.
Overrides:
Creates the visual element for a funnel data point.
protected override DataPointElement CreatePointElement(DataPoint point)
The funnel data point to render.
Returns:The point element associated with point.
Overrides:
Unsubscribes from the data-point collection before releasing managed series resources.
protected override void DisposeManagedResources()
Overrides:
Requires a FunnelArea parent and relayouts the view after attachment.
protected override void OnAttached(UIChartElement parent)
The chart element to which the series is being attached.
Exceptions: InvalidOperationExceptionparent is not a FunnelArea.
Overrides:
Detaches child funnel points before running the base-series detach logic.
protected override void OnDettached()
Overrides:
Invalidates prepared funnel data and relayouts the view after a series-property change.
protected override void OnNotifyPropertyChanged(string propertyName)
The name of the changed property.
Overrides:
Ensures that this series contains only funnel data points.
protected override void ValidatePoint(DataPoint item)
The data point to validate.
Exceptions: ArgumentExceptionitem is not a FunnelDataPoint.
Overrides: