I am attempting to set the perspective of “pie 3d exploded” chart with the following line of code:
asposeChart.setPerspective( xmlssChart.getRotation().getPerspective() );
*getPerspective returns a short value.
The issue I am running into is that any value I pass to setPerspective it results in being half the value in the resulting Excel file.
I set the perspective to 10
asposeChart.setPerspective( 10 );
When I open the resulting Excel file the perspective on the pie chart is 5 and not 10. It seems to be slashing my entered value in half.
What would be causing this?
Thank you for your help.