ComponentOne Chart for .NET (2.0) Search HelpCentral 

Attach By Coordinate

The Attached by Coordinate method item command gets the coordinate member of the AttachMethodEnum and sets the value of the AttachMethod 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.

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 image below illustrates the two observations:

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.


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.