[]
        
(Showing Draft Content)

C1.Win.Chart.Annotation.AnnotationBase

AnnotationBase Class

Represents the base class of annotations for the AnnotationLayer

Inheritance
AnnotationBase
Implements
IAnnotationBase
IStyleProvider
Namespace: C1.Win.Chart.Annotation
Assembly: C1.Win.FlexChart.8.dll
Syntax
public abstract class AnnotationBase : IAnnotationBase, IStyleProvider, INotifyPropertyChanged

Constructors

Name Description
AnnotationBase()

Create an instance of BaseAnnotation.

Properties

Name Description
Attachment

Gets or sets the attachment of the annotation.

Bounds

Gets the bounding box.

ContentStyle

Gets or sets the shape style of annotation.

Location

Gets or sets the location of annotation.

PointIndex

Gets or sets the data point index of the annotation.

Position

Gets or sets the position of annotation.

SeriesIndex

Gets or sets the data series index of the annotation.

Style

Gets or sets the style of annotation.

TooltipText

Gets or sets the tooltip of the annotation.

Methods

Name Description
Convert(_Point)

Converts the specified point from data to pixel coordinates.

Distance(double, double)

Calculates distance from point(x,y) to the start point of line annotation.

GetSize()

Gets the element size.

OnPropertyChanged(string)

Called when property value changes.

Events

Name Description
PropertyChanged

Notifies that a property of annotation value has changed.