Hi Brian,
I assume the image you attached is the exact original chart image and not a screen shot. (It is a screen shot, then it is not sure which part is the chart and which part is the background of your window. In this case, for trouble-shooting, it is best to use a colored background, so we can see the exact boundary of the chart.)
The chart image shows that there is some space above the plot area. Those space are specified by your code. If you do not want those space, please set the top of the plot area to be at the top of the chart. (See the top coordinates to 0 in the setPlotArea line.)
For "sliced off", are you referring to the chart having no top border? It has no top border because your code sets the plot area border to transparent in the setPlotArea line. If you want the top border, please modify the code to not set the border to transparent.
If you need further help, is it possible to inform me of the charting part of your code?
Regards
Peter Kwan |