Draws a free-form shape in a Cartesian chart by connecting points positioned on its horizontal and vertical axes.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public class CartesianFreeFigureAnnotation : CartesianChartAnnotation, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IChartElementPresenter, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement
Inheritance: objectDisposableObjectRadObjectUIChartElementChartAnnotationCartesianChartAnnotationCartesianFreeFigureAnnotation...
Implements:
Inherited Members
Constructors
Creates an annotation with an empty collection of figure points.
public CartesianFreeFigureAnnotation()
Fields
Identifies the annotation's label property in the RadProperty system.
public static readonly RadProperty LabelProperty
Identifies the annotation's point-shape property in the RadProperty system.
public static readonly RadProperty PointShapeProperty
Identifies the annotation's point-size property in the RadProperty system.
public static readonly RadProperty PointSizeProperty
Properties
Determines whether the figure will be closed by connecting a line from the endpoint to the starting point.
public bool CloseFigure { get; set; }
Points
IList<FreeFigurePoint>
Gets the data points.
public IList<FreeFigurePoint> Points { get; }
The data points.
Gets or sets the point shape.
public ElementShape PointShape { get; set; }
Gets or sets a value indicating whether the annotation will be drawn as a spline.
public virtual bool Spline { get; set; }
Gets or sets a value indicating the tension of the spline. Spline property must be set to true for this property to have effect.
public virtual float SplineTension { get; set; }
Methods
Occurs in the constructor of the annotation and allows the model to be substituted.
protected virtual CartesianFreeFigureAnnotationModel CreateAnnotationModel()
Occurs when the annotation has been successfully attached to its owning ChartView instance.
protected override void OnAttached(UIChartElement parent)
Overrides: