This is a migrated thread and some comments may be shown as answers.

How do I prevent overlapping of the x axis title with axis labels in 3D?

1 Answer 42 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Mitchell
Top achievements
Rank 1
Mitchell asked on 20 Jan 2014, 06:46 AM
In the attached screenshot, I have a  single 3D bar series.  I've set the labels at a 30 degree angle so they won'd overlap. However, they now overlap with the axis title. Is there a way for me to specify a margin for the title, or is there some other mechanism I can use to prevent this overlap?  Thanks - Mitch

1 Answer, 1 is accepted

Sort by
0
Accepted
Evgenia
Telerik team
answered on 23 Jan 2014, 10:06 AM

Hello Mitchell,



Unfortunately you can't modify the AxisTitle margin as all 3D Axis Labels together with the Title are rendered as TextBlock-s in a common LabelLayerItemsPanel. This means that even if you traverse the visual tree you won't know which of the TextBlock-s renders the Title. What I can suggest is that you ignore the Axis Title and use a TextBlock control instead positioned over your ChartArea.



Regards,

Evgenia
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.

Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.

Sign up for Free application insights >>
Tags
Chart
Asked by
Mitchell
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or