void DrawSetTextAlignment( int nHorizontal, int nVertical )
int nHorizontal
A predefined constant specifying the horizontal alignment you want used with subsequent DrawText commands. The valid values are ALIGN_LEFT, ALIGN_CENTER,
and ALIGN_RIGHT. If nHorizontal is negative, the alignment in the horizontal direction is not changed.
int nVertical
A predefined constant specifying the vertical alignment you want used with subsequent DrawText commands. The valid values are ALIGN_BOTTOM, ALIGN_BASELINE,
ALIGN_CENTER, and ALIGN_TOP. If nVertical is negative, the alignment in the vertical direction is not changed.
This method specifies the text alignment to be used with subsequent DrawText commands.
The default text alignment is ALIGN_CENTER in both directions.
x = { 1 2 3 4 5 6 7 8 }; y = { 2 1 4 5 6 5 6 9 }; declare ScatterPlot plot; plot = ScatterPlot.Create( "Sample Data", x, y ); plot.DrawSetTextAlignment( ALIGN_RIGHT, ALIGN_BOTTOM ); plot.DrawUseDataCoordinates(); plot.DrawText( 2, 1, "Low" );