Class
FunnelSeries

Represents a chart series that visualize data points using trapezoid segments that form a funnel form.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public class FunnelSeries : ChartSeries, IChartElementPresenter

Inheritance: objectRadControlBasePresenterBaseChartElementPresenterChartSeriesFunnelSeries

Implements: IChartElementPresenter

Inherited Members ChartSeries.SeriesAnimationPropertyChartSeries.PointAnimationPropertyChartSeries.ShowLabelsPropertyChartSeries.IsSelectedPropertyChartSeries.AllowSelectPropertyChartSeries.TrackBallTemplatePropertyChartSeries.TrackBallInfoTemplatePropertyChartSeries.ItemsSourcePropertyChartSeries.ClipToPlotAreaPropertyChartSeries.DisplayNamePropertyChartSeries.TooltipTemplatePropertyChartSeries.LabelConnectorsSettingsPropertyChartSeries.PlaySeriesAnimation()ChartSeries.PlayPointAnimations()ChartSeries.OnPlaySeriesAnimation(bool)ChartSeries.GetDataPointLabels(DataPoint)ChartSeries.HitTest(Rect)ChartSeries.HitTestDataPoints(Rect)ChartSeries.HitTestElements(Rect)ChartSeries.HitTestElementsCore(Rect)ChartSeries.HitTestDataPointsCore(Rect)ChartSeries.OnVisibilityChanged()ChartSeries.OnDetached(RadChartBase)ChartSeries.SeriesAnimationChartSeries.PointAnimationChartSeries.LabelDefinitionsChartSeries.ShowLabelsChartSeries.IsSelectedChartSeries.AllowSelectChartSeries.TrackBallTemplateChartSeries.TrackBallInfoTemplateChartSeries.DisplayNameChartSeries.TooltipTemplateChartSeries.ClipToPlotAreaChartSeries.ItemsSourceChartSeries.LabelConnectorsSettingsChartSeries.SeriesAnimationCompletedChartSeries.PointAnimationsCompletedChartSeries.DataBindingCompleteChartElementPresenter.OnPropertyChanged(DependencyPropertyChangedEventArgs)ChartElementPresenter.ZIndexChartElementPresenter.ChartPresenterBase.InfinitySizePresenterBase.InfinityPointPresenterBase.RefreshNode(ChartNode)PresenterBase.InvalidatePalette()PresenterBase.MeasureNodeOverride(ChartNode, object)PresenterBase.RefreshNodeCore(ChartNode)PresenterBase.CreateContentPresenter(object, DataTemplate)PresenterBase.OnInitialized(EventArgs)PresenterBase.RenderSurfaceRadControlBase.OnUnloaded(object, RoutedEventArgs)RadControlBase.IsLoadedRadControlBase.IsTemplateApplied

Constructors

FunnelSeries()

Initializes a new instance of the FunnelSeries class.

Declaration

cs-api-definition
public FunnelSeries()

Fields

DefaultSegmentStyleProperty

Identifies the DefaultSegmentStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty DefaultSegmentStyleProperty

Field Value

DependencyProperty

IsDynamicHeightProperty

Identifies the IsDynamicHeight property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsDynamicHeightProperty

Field Value

DependencyProperty

IsDynamicSlopeProperty

Identifies the IsDynamicSlope property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsDynamicSlopeProperty

Field Value

DependencyProperty

LegendSettingsProperty

Identifies the LegendSettings property.

Declaration

cs-api-definition
public static readonly DependencyProperty LegendSettingsProperty

Field Value

DependencyProperty

NeckRatioProperty

Identifies the NeckRatio property.

Declaration

cs-api-definition
public static readonly DependencyProperty NeckRatioProperty

Field Value

DependencyProperty

SegmentSpacingProperty

Identifies the SegmentSpacing property.

Declaration

cs-api-definition
public static readonly DependencyProperty SegmentSpacingProperty

Field Value

DependencyProperty

SegmentStyleSelectorProperty

Identifies the SegmentStyleSelector property.

Declaration

cs-api-definition
public static readonly DependencyProperty SegmentStyleSelectorProperty

Field Value

DependencyProperty

ValueBindingProperty

Identifies the ValueBinding property.

Declaration

cs-api-definition
public static readonly DependencyProperty ValueBindingProperty

Field Value

DependencyProperty

Properties

DataPoints

Gets the collection of data points associated with the series.

Declaration

cs-api-definition
public ElementCollection<FunnelDataPoint> DataPoints { get; }

Property Value

ElementCollection<FunnelDataPoint>

DefaultSegmentStyle

Gets or sets the Style instance that defines the default appearance of each Path presenting a funnel segment.

Declaration

cs-api-definition
public Style DefaultSegmentStyle { get; set; }

Property Value

Style

IsDynamicHeight

Gets or sets a value indicating whether all the segments will share the same height (when False) or the height of each segment is determined according to its value (when True). Default value is true.

Declaration

cs-api-definition
public bool IsDynamicHeight { get; set; }

Property Value

bool

IsDynamicSlope

Gets or sets a value indicating 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.

Declaration

cs-api-definition
public bool IsDynamicSlope { get; set; }

Property Value

bool

LabelFormat

Gets or sets the string used to format the default label of the Segments which is the Label of the FunnelDataPoint. Defaults to 'p0'.

Declaration

cs-api-definition
public string LabelFormat { get; set; }

Property Value

string

LegendSettings

Gets or sets the legend settings.

Declaration

cs-api-definition
public DataPointLegendSettings LegendSettings { get; set; }

Property Value

DataPointLegendSettings

NeckRatio

Gets or sets a value indicating the ratio between the top and the bottom bases of the whole funnel series. The property can take effect only if the IsDynamicSlope property is set to false.

Declaration

cs-api-definition
public float NeckRatio { get; set; }

Property Value

float

SegmentSpacing

Gets or sets a value indicating the space between the funnel segments in pixels.

Declaration

cs-api-definition
public int SegmentSpacing { get; set; }

Property Value

int

SegmentStyleSelector

Gets or sets the StyleSelector instance used to select the appropriate style for a FunnelDataPoint.

Declaration

cs-api-definition
public StyleSelector SegmentStyleSelector { get; set; }

Property Value

StyleSelector

SegmentStyles

Gets the collection storing a Style instance for each segment present on the chart.

Declaration

cs-api-definition
public ObservableCollection<Style> SegmentStyles { get; }

Property Value

ObservableCollection<Style>

ValueBinding

Gets or sets the binding that will be used to fill the Value member of the contained data points.

Declaration

cs-api-definition
[TypeConverter(typeof(StringToDataPointBindingConverter))]
public DataPointBinding ValueBinding { get; set; }

Property Value

DataPointBinding

Methods

GetLabelConnector(ChartSeriesLabelPositionInfo)

Gets the points which build the label connector polyline.

Declaration

cs-api-definition
protected override List<Point> GetLabelConnector(ChartSeriesLabelPositionInfo info)

Parameters

info

ChartSeriesLabelPositionInfo

Returns

List<Point>

Overrides ChartSeries.GetLabelConnector(ChartSeriesLabelPositionInfo)

GetValueAggregateFunction()

When overridden in a derived class, this method returns the function used to calculate the aggregate values for the Value property.

Declaration

cs-api-definition
protected virtual ChartAggregateFunction GetValueAggregateFunction()

Returns

ChartAggregateFunction

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides ChartSeries.OnApplyTemplate()

OnAttached()

Occurs when the presenter has been successfully attached to its owning RadChartBase instance.

Declaration

cs-api-definition
protected override void OnAttached()

Overrides ChartSeries.OnAttached()

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

OnLoaded(object, RoutedEventArgs)

Occurs when a System.Windows.FrameworkElement has been constructed and added to the object tree.

Declaration

cs-api-definition
protected override void OnLoaded(object sender, RoutedEventArgs e)

Parameters

sender

object

e

RoutedEventArgs

Overrides ChartSeries.OnLoaded(object, RoutedEventArgs)

OnMouseLeave(MouseEventArgs)

Invoked when an unhandled  attached event is raised on this element. Implement this method to add class handling for this event.

Declaration

cs-api-definition
protected override void OnMouseLeave(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs that contains the event data.

OnMouseMove(MouseEventArgs)

Invoked when an unhandled  attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

Declaration

cs-api-definition
protected override void OnMouseMove(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs that contains the event data.

OnPlayPointAnimations(bool)

Fired when Point animations are about to be played.

Declaration

cs-api-definition
protected override void OnPlayPointAnimations(bool hidePointsOnLoad)

Parameters

hidePointsOnLoad

bool

When true, the animated element is collapsed until the start of the animation.

Overrides ChartSeries.OnPlayPointAnimations(bool)