# C1.Win.Chart.Annotation.AnnotationBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Chart_Annotation_AnnotationBase" data-uid="C1.Win.Chart.Annotation.AnnotationBase" class="text-break">AnnotationBase Class
</h1>
  <div class="markdown level0 summary"><p>Represents the base class of annotations for the <a class="xref" href="C1.Win.Chart.Annotation.AnnotationLayer.html">AnnotationLayer</a></p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">AnnotationBase</span></div>
      <div class="level2"><a class="xref" href="C1.Win.Chart.Annotation.Image.html">Image</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Chart.Annotation.Line.html">Line</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Chart.Annotation.Shape.html">Shape</a></div>
      <div class="level2"><a class="xref" href="C1.Win.Chart.Annotation.Text.html">Text</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Chart.Annotation.html">C1.Win.Chart.Annotation</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexChart.10.dll</h6>
  <h5 id="C1_Win_Chart_Annotation_AnnotationBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class AnnotationBase : INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class AnnotationBase
    Implements INotifyPropertyChanged</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase__ctor" data-uid="C1.Win.Chart.Annotation.AnnotationBase.#ctor">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.-ctor.html#C1_Win_Chart_Annotation_AnnotationBase__ctor">AnnotationBase()</a>
        </td>
        <td class="markdown level1 summary"><p>Create an instance of BaseAnnotation.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase_Attachment" data-uid="C1.Win.Chart.Annotation.AnnotationBase.Attachment">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.Attachment.html#C1_Win_Chart_Annotation_AnnotationBase_Attachment">Attachment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the attachment of the annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase_Bounds" data-uid="C1.Win.Chart.Annotation.AnnotationBase.Bounds">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.Bounds.html#C1_Win_Chart_Annotation_AnnotationBase_Bounds">Bounds</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the bounding box.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase_ContentStyle" data-uid="C1.Win.Chart.Annotation.AnnotationBase.ContentStyle">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.ContentStyle.html#C1_Win_Chart_Annotation_AnnotationBase_ContentStyle">ContentStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the shape style of annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase_Location" data-uid="C1.Win.Chart.Annotation.AnnotationBase.Location">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.Location.html#C1_Win_Chart_Annotation_AnnotationBase_Location">Location</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the location of annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase_LocationX" data-uid="C1.Win.Chart.Annotation.AnnotationBase.LocationX">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.LocationX.html#C1_Win_Chart_Annotation_AnnotationBase_LocationX">LocationX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets annotation x-coordinate as double value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase_LocationY" data-uid="C1.Win.Chart.Annotation.AnnotationBase.LocationY">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.LocationY.html#C1_Win_Chart_Annotation_AnnotationBase_LocationY">LocationY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets annotation y-coordinate as double value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase_PointIndex" data-uid="C1.Win.Chart.Annotation.AnnotationBase.PointIndex">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.PointIndex.html#C1_Win_Chart_Annotation_AnnotationBase_PointIndex">PointIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the data point index of the annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase_Position" data-uid="C1.Win.Chart.Annotation.AnnotationBase.Position">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.Position.html#C1_Win_Chart_Annotation_AnnotationBase_Position">Position</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the position of annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase_SeriesIndex" data-uid="C1.Win.Chart.Annotation.AnnotationBase.SeriesIndex">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.SeriesIndex.html#C1_Win_Chart_Annotation_AnnotationBase_SeriesIndex">SeriesIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the data series index of the annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase_Style" data-uid="C1.Win.Chart.Annotation.AnnotationBase.Style">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.Style.html#C1_Win_Chart_Annotation_AnnotationBase_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase_TooltipText" data-uid="C1.Win.Chart.Annotation.AnnotationBase.TooltipText">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.TooltipText.html#C1_Win_Chart_Annotation_AnnotationBase_TooltipText">TooltipText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the tooltip of the annotation.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase_Convert_C1_Chart__Point_" data-uid="C1.Win.Chart.Annotation.AnnotationBase.Convert(C1.Chart._Point)">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.Convert.html#C1_Win_Chart_Annotation_AnnotationBase_Convert_C1_Chart__Point_">Convert(_Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts the specified point from data to pixel coordinates.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase_Distance_System_Double_System_Double_" data-uid="C1.Win.Chart.Annotation.AnnotationBase.Distance(System.Double,System.Double)">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.Distance.html#C1_Win_Chart_Annotation_AnnotationBase_Distance_System_Double_System_Double_">Distance(double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates distance from point(x,y) to the start point of line annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase_GetSize" data-uid="C1.Win.Chart.Annotation.AnnotationBase.GetSize">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.GetSize.html#C1_Win_Chart_Annotation_AnnotationBase_GetSize">GetSize()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the element size.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase_OnPropertyChanged_System_String_" data-uid="C1.Win.Chart.Annotation.AnnotationBase.OnPropertyChanged(System.String)">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.OnPropertyChanged.html#C1_Win_Chart_Annotation_AnnotationBase_OnPropertyChanged_System_String_">OnPropertyChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when property value changes.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Chart_Annotation_AnnotationBase_PropertyChanged" data-uid="C1.Win.Chart.Annotation.AnnotationBase.PropertyChanged">
          <a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Notifies that a property of annotation value has changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
