auto_xy_LabelDataset labels the first or last point of a 2D dataset with its name.
Return Value
hText is the handle of the created text object or 0 is the function failed.
Parameters
hData is the handle of a 1D or 2D dataset.
rvOffsetCM is a vector with two elements:
| Value | Meaning |
|---|---|
| rvOffsetCM[1] | Offset of the text in x direction in centimeters. |
| rvOffsetCM[2] | Offset of the text in y direction in centimeters. |
If bShowHelpLine is TRUE (1) a line will be drawn from a datapoint to the text.
nType is one of the following values (default is 1):
| Value | Meaning |
|---|---|
| 0 | Label first data point. |
| 1 | Label last data point. |
| 2 | Label last data point and set the angle of the text to the gradient of the curve. |
rsXPos Draws the text at the specified x coordinate. The coordinate is specified in the coordinatesystem of the diagram.
id-97051