Class
DataPointElement

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

cs-api-definition
public class DataPointElement : ChartImageElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement, IImageElement

Inheritance: objectDisposableObjectRadObjectUIChartElementChartImageElementDataPointElement

Derived Classes: CategoricalPointElementFunnelPointElementHlcPointElementOhlcPointElementPiePointElementPolarPointElementScatterPointElement

Implements: IBorderElementIBoxElementIBoxStyleIChartElementPresenterICustomTypeDescriptorIDisposableIFillElementIImageElementINotifyPropertyChangedIShapedElementIStylableElementIStylableNode

Inherited Members ChartImageElement.ImagePropertyChartImageElement.ImageKeyPropertyChartImageElement.ImageIndexPropertyChartImageElement.ImageLayoutPropertyChartImageElement.ImageOpacityPropertyChartImageElement.ImageAlignmentPropertyChartImageElement.ImageChartImageElement.ImageIndexChartImageElement.ImageKeyChartImageElement.ImageLayoutChartImageElement.ImageAlignmentChartImageElement.ImageOpacityUIChartElement.IsVisiblePropertyUIChartElement.ClassPropertyUIChartElement.VisualStatePropertyUIChartElement.IsMouseDownPropertyUIChartElement.IsMouseOverPropertyUIChartElement.FontPropertyUIChartElement.CustomFontPropertyUIChartElement.CustomFontSizePropertyUIChartElement.CustomFontStylePropertyUIChartElement.ForeColorPropertyUIChartElement.BackColorPropertyUIChartElement.BackColor2PropertyUIChartElement.BackColor3PropertyUIChartElement.BackColor4PropertyUIChartElement.NumberOfColorsPropertyUIChartElement.GradientStylePropertyUIChartElement.GradientAnglePropertyUIChartElement.GradientPercentagePropertyUIChartElement.GradientPercentage2PropertyUIChartElement.BorderBoxStylePropertyUIChartElement.BorderDrawModePropertyUIChartElement.BorderWidthPropertyUIChartElement.BorderLeftWidthPropertyUIChartElement.BorderRightWidthPropertyUIChartElement.BorderTopWidthPropertyUIChartElement.BorderBottomWidthPropertyUIChartElement.BorderGradientAnglePropertyUIChartElement.BorderGradientStylePropertyUIChartElement.BorderColorPropertyUIChartElement.BorderColor2PropertyUIChartElement.BorderColor3PropertyUIChartElement.BorderColor4PropertyUIChartElement.BorderInnerColorPropertyUIChartElement.BorderInnerColor2PropertyUIChartElement.BorderInnerColor3PropertyUIChartElement.BorderInnerColor4PropertyUIChartElement.BorderLeftColorPropertyUIChartElement.BorderTopColorPropertyUIChartElement.BorderRightColorPropertyUIChartElement.BorderBottomColorPropertyUIChartElement.BorderLeftShadowColorPropertyUIChartElement.BorderTopShadowColorPropertyUIChartElement.BorderRightShadowColorPropertyUIChartElement.BorderBottomShadowColorPropertyUIChartElement.BackgroundShapePropertyUIChartElement.BorderDashStylePropertyUIChartElement.BorderDashPatternPropertyUIChartElement.BorderCornerRadiusPropertyUIChartElement.ShapePropertyUIChartElement.PaddingPropertyUIChartElement.SmoothingModePropertyUIChartElement.Attach(UIChartElement)UIChartElement.Dettach()UIChartElement.OnDettached()UIChartElement.Refresh()UIChartElement.Invalidate()UIChartElement.MeasureContentOverride(ChartNode, object)UIChartElement.DpiScaleChanged(SizeF)UIChartElement.GetScaledFont(float)UIChartElement.GetCurrentShape()UIChartElement.GetThemeEffectiveType()UIChartElement.ApplyStyle()UIChartElement.AddStylePropertySetting(IPropertySetting)UIChartElement.ApplyStyleByIndex(PropertySettingGroup, int)UIChartElement.LevelUIChartElement.ChildrenUIChartElement.IsMouseDownUIChartElement.IsMouseOverUIChartElement.ViewUIChartElement.ForeColorUIChartElement.FontUIChartElement.BackColorUIChartElement.BackColor2UIChartElement.BackColor3UIChartElement.BackColor4UIChartElement.GradientStyleUIChartElement.GradientAngleUIChartElement.GradientPercentageUIChartElement.GradientPercentage2UIChartElement.NumberOfColorsUIChartElement.BorderLeftColorUIChartElement.BorderTopColorUIChartElement.BorderRightColorUIChartElement.BorderBottomColorUIChartElement.BorderLeftShadowColorUIChartElement.BorderTopShadowColorUIChartElement.BorderRightShadowColorUIChartElement.BorderBottomShadowColorUIChartElement.BorderBoxStyleUIChartElement.BorderDrawModeUIChartElement.BorderWidthUIChartElement.BorderLeftWidthUIChartElement.BorderTopWidthUIChartElement.BorderRightWidthUIChartElement.BorderBottomWidthUIChartElement.BorderGradientAngleUIChartElement.BorderGradientStyleUIChartElement.BorderColorUIChartElement.BorderColor2UIChartElement.BorderColor3UIChartElement.BorderColor4UIChartElement.BorderInnerColorUIChartElement.BorderInnerColor2UIChartElement.BorderInnerColor3UIChartElement.BorderInnerColor4UIChartElement.BorderDashStyleUIChartElement.BorderDashPatternUIChartElement.BorderCornerRadiusUIChartElement.SizeUIChartElement.ShapeUIChartElement.BackgroundShapeUIChartElement.PaddingUIChartElement.SmoothingModeUIChartElement.IsAttachedUIChartElement.DpiScaleFactorUIChartElement.ClassUIChartElement.VisualStateUIChartElement.ThemeRoleUIChartElement.ChildrenHierarchyUIChartElement.StyleUIChartElement.StateManagerUIChartElement.FallbackToDefaultThemeRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadObject.DisposeManagedResources()RadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.SetValueCore(RadPropertyValue, object, object, ValueSource)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.IsPropertyCancelable(RadPropertyMetadata)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.PerformDispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

DataPointElement(DataPoint)

Initializes a new instance of the DataPointElement class.

Declaration

cs-api-definition
public DataPointElement(DataPoint dataPoint)

Parameters

dataPoint

DataPoint

The data point.

Fields

HeightAspectRatioProperty

Declaration

cs-api-definition
public static RadProperty HeightAspectRatioProperty

Field Value

RadProperty

IsSelectedProperty

Declaration

cs-api-definition
public static RadProperty IsSelectedProperty

Field Value

RadProperty

PointSizeProperty

Declaration

cs-api-definition
public static RadProperty PointSizeProperty

Field Value

RadProperty

Properties

DataPoint

Gets the data point.

Declaration

cs-api-definition
public DataPoint DataPoint { get; }

Property Value

DataPoint

The data point.

HeightAspectRatio

Gets or sets the height aspect ratio.

Declaration

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

Property Value

float

The height aspect ratio.

IsSelected

Gets or sets whether the point element is selected.

Declaration

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

Property Value

bool

The is selected.

IsVisible

Gets or sets a value indicating whether this instance is visible.

Declaration

cs-api-definition
public override bool IsVisible { get; set; }

Property Value

bool

Overrides UIChartElement.IsVisible

Parent

Gets or sets the parent of the data point element.

Declaration

cs-api-definition
public override RadObject Parent { get; set; }

Property Value

RadObject

Overrides UIChartElement.Parent

PointSize

Gets or sets the size of the point.

Declaration

cs-api-definition
public SizeF PointSize { get; set; }

Property Value

SizeF

The size of the point.

Methods

ApplyStyleSettingsCore(PropertySettingGroup)

Applies the style settings.

Declaration

cs-api-definition
protected override void ApplyStyleSettingsCore(PropertySettingGroup group)

Parameters

group

PropertySettingGroup

The group.

Overrides UIChartElement.ApplyStyleSettingsCore(PropertySettingGroup)

BuildVisualState()

Builds the visual state.

Declaration

cs-api-definition
protected override void BuildVisualState()

Overrides UIChartElement.BuildVisualState()

CreateLabelElement(DataPointElement)

Creates the label element.

Declaration

cs-api-definition
protected virtual LabelElement CreateLabelElement(DataPointElement point)

Parameters

point

DataPointElement

The point.

Returns

LabelElement

GetDefaultVisualState(ChartSeries, int)

Gets the default visual state.

Declaration

cs-api-definition
protected virtual string GetDefaultVisualState(ChartSeries series, int index)

Parameters

series

ChartSeries

The series.

index

int

The index.

Returns

string

GetStyleIndex()

Gets the style index.

Declaration

cs-api-definition
protected virtual int GetStyleIndex()

Returns

int

GetValue(RadProperty)

Retrieves the current value for the specified property.

Declaration

cs-api-definition
public override object GetValue(RadProperty property)

Parameters

property

RadProperty

Returns

object

Overrides UIChartElement.GetValue(RadProperty)

OnAttached(UIChartElement)

Called when [attached].

Declaration

cs-api-definition
protected override void OnAttached(UIChartElement parent)

Parameters

parent

UIChartElement

The parent.

Overrides UIChartElement.OnAttached(UIChartElement)

OnMouseDown(MouseEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnMouseDown(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

OnMouseEnter(EventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnMouseEnter(EventArgs e)

Parameters

e

EventArgs

The EventArgs instance containing the event data.

OnMouseLeave(EventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnMouseLeave(EventArgs e)

Parameters

e

EventArgs

The EventArgs instance containing the event data.

OnMouseMove(MouseEventArgs)

Raises the event.

Declaration

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

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

OnMouseUp(MouseEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnMouseUp(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

OnPropertyChanged(RadPropertyChangedEventArgs)

Raises the RadPropertyChanged event and the standard .NET PropertyChanged event to notify subscribers of property value changes.

Declaration

cs-api-definition
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

The RadPropertyChangedEventArgs containing information about the property change.

Overrides UIChartElement.OnPropertyChanged(RadPropertyChangedEventArgs)