I'm trying to rotate the yaxis titles so they don't overlap on a polygraph style display. The call to setTextRotation doesn't seem to have any effect. Here is the code that I am using:
AxisTitle yAxisTitle = new AxisTitle(); yAxisTitle.setAxisTitle(yaxis, font24, m_vParams.get(i).getName()); yAxisTitle.setTextRotation(45.0); chartVu.addChartObject(yAxisTitle);
Unlike our generic ChartText class, and the axis labels classes, the axis title class uses a fixed rotation, setting it 90 degrees for y-axis titles, and leaving it a 0 for x-axis titles. Calling setTextRotation will have no effect. There is no way to change that behavior for the AxisTitle class. You could try and use ChartText objects instead, placing them in the positions you want.