Prevent long labels on the horizontal axis from overlapping the 3D chart

Article ID: 2426
Last updated: 29 May, 2018
Article ID: 2426
Last updated: 29 May, 2018
Revision: 3
Views: 645
Posted: 07 May, 2012
by Dean J.
Updated: 29 May, 2018
by Gargani A.

Question

How do you prevent long labels on the horizontal axis from overlapping the 3D chart?

Answer

To prevent the labels from overlapping the 3D chart, use the "labelGap" style property of the AxisRenderer3D class. As stated in the documentation, this style property specifies the gap between the end of the tick marks and the top of the labels, in pixels. The default value is 3. Increase this value until the labels are no longer overlapping the chart. For example:


<ilog:horizontalAxisRenderer>
     <ilog:AxisRenderer3D labelRotation="-30" labelGap="70">
     </ilog:AxisRenderer3D>
</ilog:horizontalAxisRenderer>


Here is a

sample

that demonstrates a 3D column chart with rotated labels that do not overlap the chart.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2426
Last updated: 29 May, 2018
Revision: 3
Views: 645
Posted: 07 May, 2012 by Dean J.
Updated: 29 May, 2018 by Gargani A.
Attached files


Others in this category