# C1.Win.C1Chart.AttachMethodEnum

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Win_C1Chart_AttachMethodEnum" data-uid="C1.Win.C1Chart.AttachMethodEnum" class="text-break">AttachMethodEnum Enum
</h1>
  <div class="markdown level0 summary"><p>Use the members of this enumeration to set the value of the <a class="xref" href="C1.Win.C1Chart.Label.AttachMethod.html#C1_Win_C1Chart_Label_AttachMethod">AttachMethod</a>
property in the <a class="xref" href="C1.Win.C1Chart.Label.html">Label</a> class.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.C1Chart.html">C1.Win.C1Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Chart.4.8.dll</h6>
  <h5 id="C1_Win_C1Chart_AttachMethodEnum_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum AttachMethodEnum</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum AttachMethodEnum</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Win_C1Chart_AttachMethodEnum_Coordinate">Coordinate</td>
        <td><p>Label can be attached to anywhere on the chart. The number of pixels between
the top-left corner of the chart to the ChartLabel can be specified.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_AttachMethodEnum_DataCoordinate">DataCoordinate</td>
        <td><p>Label is attached to anywhere inside the PlotArea. The data coordinates can be specified.
This method is not allowed on pie charts using PointLabels for the X-axis annotation.
If any part of the ChartLabel falls outside of the ChartArea, it is clipped.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_AttachMethodEnum_DataIndex">DataIndex</td>
        <td><p>Label is attached to a specific data point on the chart.
The series and point indices and the ChartGroup can be specified.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_AttachMethodEnum_DataIndexY">DataIndexY</td>
        <td><p>Label is attached to a distance above or below a specific data point.
The series and point indices, the ChartGroup, and the Y-coordinate can be specified.
This is most useful for bar and stacking bar charts.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
