I tried to put chart title to a special position. For example, top left or top right, or a position specified by x and y value. But the title position have only two choices: CENTER_GRAPH and CENTER_PLOT. Do I need to create a ChartText instead of a Title to do this?
The ChartText class is used to position text at an arbitrary xy position in the graph window. Refer to the manual for the positioning methods associated with this class.
As I understood, ChartText will be located by X-Value and Y-Value in plot bases on the coordinate. This means that we can only arbitraryly set xy position of the ChartText in Plot Area instead of Graph Area. If I want to add a ChartText in Graph Area How to set the position. Please help. Thanks.
It has to be assumed that you have read the manual documenting the ChartText class and constructors. Please clarify what it is that you do not understand about the npostytpe parameter, which specifies that text can be postioned using coordinates normalized to the graph window (NORM_GRAPH_POS).
npostype - Specifies the if the position of the text is specified in physical coordinates, normalized coordinates or .Net device coordinates. Use one of the position constants: DEV_POS, PHYS_POS, NORM_GRAPH_POS, NORM_PLOT_POS.