How do I rotate axis labels of a 3D Chart in IBM ILOG Elixir Enterprise?
CartesianChart3D classes use the
AxisRenderer3D class to render axes. In order to rotate the axis labels, you can specify a number from -90 to 90 in degrees to the
labelRotation property of
As documented, this
labelRotation property works only if an embedded font is used on the
AxisRenderer3D. Thus, you must firstly embed the font in the Flex application. In Flex 4 and later, you must also be sure to set the embedAsCFF CSS property to false because chart controls are MX controls and do not use the Spark text rendering engine.
The following shows a code snippet of the horizontal axis rotated by 45 degrees:
<ilog:AxisRenderer3D fontFamily="Arial" labelRotation="45"/>
Find a complete code sample as attached:
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.