FunnelPointElement
Renders one funnel segment and manages its legend entry and segment styling.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public class FunnelPointElement : DataPointElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement, IImageElement
Inheritance: objectDisposableObjectRadObjectUIChartElementChartImageElementDataPointElementFunnelPointElement...
Implements:
Inherited Members
Constructors
Creates an element for the specified funnel data point.
public FunnelPointElement(FunnelDataPoint dataPoint)
The data point whose segment this element renders.
Fields
Identifies whether this funnel segment is included in the chart legend.
public static RadProperty IsVisibleInLegendProperty
Properties
Gets or sets whether this funnel segment is included in the chart legend.
public bool IsVisibleInLegend { get; set; }
Gets or sets the title that will be used by chart legend.
public string LegendTitle { get; set; }
Methods
Creates a label element whose position follows the parent series' label-alignment setting.
protected override LabelElement CreateLabelElement(DataPointElement point)
The data point element for which to create a label.
Returns:A funnel label element associated with point.
Overrides:
Builds the visual-state name for this funnel segment.
protected override string GetDefaultVisualState(ChartSeries series, int index)
The owning series context supplied by the base element.
indexintThe segment index used in the state name.
Returns:A state name in the form FunnelSegment.index.
Overrides:
Gets this point's index in its parent series for palette and style selection.
protected override int GetStyleIndex()
The data-point index, or zero when the element has no funnel-series parent.
Overrides:
Uses the series palette for the segment's fill or border when the series value source takes precedence.
public override object GetValue(RadProperty property)
The visual property whose effective value is requested.
Returns:The palette entry's fill or stroke for BackColor or BorderColor when the series value source takes precedence and a matching palette entry exists; otherwise, the base value for other properties.
Overrides:
Registers this segment's legend item when the element is attached to a funnel series and legend visibility is enabled.
protected override void OnAttached(UIChartElement parent)
The element to which this point element is being attached.
Overrides:
Removes this segment's legend item before detaching the element.
protected override void OnDettached()
Overrides:
Adds or removes this segment's legend item when IsVisibleInLegend changes.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The property-change details.
Overrides: