# Attach By Coordinate

## Content



The Attached by Coordinate method item command gets the coordinate member of the AttachMethodEnum and sets the value of the [AttachMethod](/componentone/api/win/online-chart2d/dotnet-framework-api/C1.Win.C1Chart.4.8/C1.Win.C1Chart.Label.AttachMethod.html) property in the Label. It attaches the label anywhere on the chart. The following steps show how to attach the label using this method:

1.  Select an existing Chart label and select the **Attached By Coordinate** item from its drop-down menu. If a label does not exist then add a label. For information about adding a chart label at design-time please see [Add Labels to the Chart](/componentone/docs/win/online-chart2d/chartforwinformstask/creatingandformattin1/addlabelstothechart).
2.  Click on the **Properties** button of the **Label** floating toolbar and observe the following in its **Edit labels** editor:
    
    *   The AttachMethod is now set to Coordinate since the Attached by Coordinate item was chosen.
    *   Locate the X and Y coordinate values and notice that they are set to pixel values. This is because the Coordinate attachment method attaches the labels by the coordinate X and Y pixel values.
    
    The following image illustrates the two observations:<br />![](https://cdn.mescius.io/document-site-files/images/70bd33a2-280e-4cc3-a1c0-7b827eceb8aa/imagesext/image10_94.png)
3.  If you would like to specify a different position for the Label simply change the X and Y coordinate pixel value to where you would like the position of the label to lie on the chart.

## See Also

[Attach By Data Coordinate](/componentone/docs/win/online-chart2d/chartforwinformstask/creatingandformattin1/attachchartlabels/attachbydatacoordina)