Class BasePointMarkChartItem
Base class for chart items, having point marks and labels.
Inherited Members
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public abstract class BasePointMarkChartItem : BaseChartItem2D, IChartItem, ILogicalItem, IAnimatable, IInteractiveElement
Constructors
BasePointMarkChartItem()
Initializes a new instance of the BasePointMarkChartItem class.
Declaration
protected BasePointMarkChartItem()
Fields
EndPointProperty
Identifies the EndPoint dependency property.
Declaration
public static readonly DependencyProperty EndPointProperty
Field Value
System.Windows.DependencyProperty
|
EndPointXProperty
Identifies the EndPointX dependency property.
Declaration
public static readonly DependencyProperty EndPointXProperty
Field Value
System.Windows.DependencyProperty
|
EndPointYProperty
Identifies the EndPointY dependency property.
Declaration
public static readonly DependencyProperty EndPointYProperty
Field Value
System.Windows.DependencyProperty
|
PointMarkCanvasLeftProperty
Identifies the PointMarkCanvasLeft dependency property.
Declaration
public static readonly DependencyProperty PointMarkCanvasLeftProperty
Field Value
System.Windows.DependencyProperty
|
PointMarkCanvasTopProperty
Identifies the PointMarkCanvasTop dependency property.
Declaration
public static readonly DependencyProperty PointMarkCanvasTopProperty
Field Value
System.Windows.DependencyProperty
|
PointMarkItemStyleProperty
Identifies the PointMarkItemStyle dependency property.
Declaration
public static readonly DependencyProperty PointMarkItemStyleProperty
Field Value
System.Windows.DependencyProperty
|
PointMarkShapeStyleProperty
Identifies the PointMarkShapeStyle dependency property.
Declaration
public static readonly DependencyProperty PointMarkShapeStyleProperty
Field Value
System.Windows.DependencyProperty
|
PointMarkVisibilityProperty
Identifies the PointMarkVisibility dependency property.
Declaration
public static readonly DependencyProperty PointMarkVisibilityProperty
Field Value
System.Windows.DependencyProperty
|
StartPointProperty
Identifies the StartPoint dependency property.
Declaration
public static readonly DependencyProperty StartPointProperty
Field Value
System.Windows.DependencyProperty
|
StartPointXProperty
Identifies the StartPointX dependency property.
Declaration
public static readonly DependencyProperty StartPointXProperty
Field Value
System.Windows.DependencyProperty
|
StartPointYProperty
Identifies the StartPointY dependency property.
Declaration
public static readonly DependencyProperty StartPointYProperty
Field Value
System.Windows.DependencyProperty
|
Properties
EndPoint
Gets or sets the start point of the item's figure.
Declaration
public Point EndPoint { get; set; }
Property Value
System.Windows.Point
|
EndPointX
Gets or sets the horizontal coordinate of the end point of the line.
Declaration
public double EndPointX { get; set; }
Property Value
System.Double
|
EndPointY
Gets or sets the vertical coordinate of the end point of the line.
Declaration
public double EndPointY { get; set; }
Property Value
System.Double
|
PointMark
Gets the first point mark of this item.
Declaration
protected PointMark PointMark { get; }
Property Value
PointMark
The first point mark. |
PointMarkCanvasLeft
Gets or sets the Canvas.Left coordinate of the point mark.
Declaration
public double PointMarkCanvasLeft { get; set; }
Property Value
System.Double
|
PointMarkCanvasTop
Gets or sets the Canvas.Top coordinate for the point mark.
Declaration
public double PointMarkCanvasTop { get; set; }
Property Value
System.Double
|
PointMarkItemStyle
Gets or sets the style associated with the point mark.
Declaration
public Style PointMarkItemStyle { get; set; }
Property Value
System.Windows.Style
|
PointMarkShapeStyle
Gets or sets the style that applies the appearance settings on the point mark shape.
Declaration
public Style PointMarkShapeStyle { get; set; }
Property Value
System.Windows.Style
|
PointMarkVisibility
Gets or sets the visibility of the point mark.
Declaration
public Visibility PointMarkVisibility { get; set; }
Property Value
System.Windows.Visibility
|
StartPoint
Gets or sets the end point of the item's figure.
Declaration
public Point StartPoint { get; set; }
Property Value
System.Windows.Point
|
StartPointX
Gets or sets the horizontal coordinate of the start point of the line.
Declaration
public double StartPointX { get; set; }
Property Value
System.Double
|
StartPointY
Gets or sets the vertical coordinate of the start point of the line.
Declaration
public double StartPointY { get; set; }
Property Value
System.Double
|
Methods
AppearanceItemPropertyChanged(Object, PropertyChangedEventArgs)
Raised when appearance property changes.
Declaration
protected override void AppearanceItemPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
System.Object
sender
The sender. |
System.ComponentModel.PropertyChangedEventArgs
e
The System.ComponentModel.PropertyChangedEventArgs instance containing the event data. |
Overrides
ArrangeOverride(Size)
When overridden in a derived class, positions child elements and determines a size for a System.Windows.FrameworkElement derived class.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The final area within the parent that this element should use to arrange itself and its children. |
Returns
System.Windows.Size
The actual size used. |
Overrides
CreateBottomPoints(Size, DataRange, DataRange)
Creates the bottom points.
Declaration
protected virtual void CreateBottomPoints(Size arrangedBounds, DataRange rangeYFrom, DataRange rangeYTo)
Parameters
System.Windows.Size
arrangedBounds
The arranged bounds. |
DataRange
rangeYFrom
The range Y from. |
DataRange
rangeYTo
The range Y to. |
CreatePoints(Size)
Creates the control points based on the arrangedBounds
.
Declaration
protected virtual void CreatePoints(Size arrangedBounds)
Parameters
System.Windows.Size
arrangedBounds
The arranged bounds. |
CreateTopPoints(Size, DataRange, DataRange)
Creates the top points.
Declaration
protected virtual void CreateTopPoints(Size arrangedBounds, DataRange rangeYFrom, DataRange rangeYTo)
Parameters
System.Windows.Size
arrangedBounds
The arranged bounds. |
DataRange
rangeYFrom
The range Y from. |
DataRange
rangeYTo
The range Y to. |
DataPointPropertyChanged(Object, PropertyChangedEventArgs)
This method is called whenever the PropertyChanged event of the DataPoint occurs.
Declaration
protected override void DataPointPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
System.Object
sender
The sender. |
System.ComponentModel.PropertyChangedEventArgs
e
The System.ComponentModel.PropertyChangedEventArgs instance containing the event data. |
Overrides
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
Overrides
OnDataSeriesDefinitionChanged(Object, PropertyChangedEventArgs)
Called when DataSeries Definition is changed.
Declaration
protected override void OnDataSeriesDefinitionChanged(object sender, PropertyChangedEventArgs e)
Parameters
System.Object
sender
The sender. |
System.ComponentModel.PropertyChangedEventArgs
e
The System.ComponentModel.PropertyChangedEventArgs instance containing the event data. |
Overrides
SetSeriesItemStyle()
Sets the series item style.
Declaration
protected override void SetSeriesItemStyle()
Overrides
UpdatePointMarkPosition()
Updates the point mark position.
Declaration
public virtual void UpdatePointMarkPosition()
Remarks
You need to call this method only if you have changed the size of individual PointMark.