Each title of the graph can have a title of there own. By default the x-axis has the title on the right and the y-axis have the title in vertical at the top of the graph. The title of the axis is accessed by the title property of the axis for the x- and y-axis as in
As a continence the following there methods are provided
This method sets the title text string and the alignnemt of the title. For the x-axis the alignment is pecified as one of the folliwng three strings
For an y-axis the alignment is set with one of the following three strings
The margin is specifies as the number of pixels distance from the axis to the title
The side specifies for a horizontal axis (x-axis) if the title should be above or below the axis and for a vertical axis (y-axis) if the title should be on the left or the right of the axis.
Since the title property can be easily accessed all usual Text class property can be used. This includes the color property. To set the font and color of the title for the x-axis the following methods are used
For the y- and y2-axis the fonts and colors are set completely analogues.