DataPointElement
Base visual element that links a chart data point to its label, selection state, styling, and visual states.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public class DataPointElement : ChartImageElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement, IImageElement
Inheritance: objectDisposableObjectRadObjectUIChartElementChartImageElementDataPointElement...
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the DataPointElement class.
Fields
Identifies the factor used to scale the value-direction dimension of bar-style points.
public static RadProperty HeightAspectRatioProperty
Identifies the selection property synchronized with the associated DataPoint.
public static RadProperty IsSelectedProperty
Identifies the point-size property; when a parent series exists and the element's value source has lower precedence, the series supplies the effective size.
public static RadProperty PointSizeProperty
Properties
Gets the data point.
public DataPoint DataPoint { get; }
The data point.
Gets or sets the height aspect ratio.
public float HeightAspectRatio { get; set; }
The height aspect ratio.
Gets or sets whether the point element is selected.
public bool IsSelected { get; set; }
The is selected.
Gets or sets a value indicating whether this instance is visible.
public override bool IsVisible { get; set; }
Overrides:
Gets or sets the parent of the data point element.
public override RadObject Parent { get; set; }
Overrides:
Methods
Applies the style settings.
protected override void ApplyStyleSettingsCore(PropertySettingGroup group)
The group.
Overrides:
Builds the visual state.
protected override void BuildVisualState()
Overrides:
Creates the label element.
protected virtual LabelElement CreateLabelElement(DataPointElement point)
The point.
Returns:Gets the default visual state.
protected virtual string GetDefaultVisualState(ChartSeries series, int index)
The series.
indexintThe index.
Returns:Gets the style index.
Retrieves the current value for the specified property.
public override object GetValue(RadProperty property)
Overrides:
Called when [attached].
protected override void OnAttached(UIChartElement parent)
The parent.
Overrides:
Raises the event.
protected virtual void OnMouseDown(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Raises the event.
protected virtual void OnMouseMove(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Raises the event.
protected virtual void OnMouseUp(MouseEventArgs e)
The MouseEventArgs instance containing the event data.
Propagates bound property changes to the associated data point and reapplies styles when the element becomes visible.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The property-change details.
Overrides: