Hi Michael,
If you use addTitle to add the title to the top, by default, the title is touching the top. You should not move the title upwards as it will then move outside the chart. So for your case (assuming you cannot change the title font), you may move the plot area downwards.
Several sample code in ChartDirector uses Box.getHeight to get the height of the title, and set the plot area position according. For example, the "Gradient Bar Chart" sample code sets the plot area so that it is 25 pixels from the title (by setting the plot area top position to title.getHeight() + 25). May be you can use it as a reference.
Hope this can help.
Regards
Peter Kwan |