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

2 posts, 1 answers
  1. Mitchell
    Mitchell avatar
    45 posts
    Member since:
    Mar 2013

    Posted 20 Jan 2014 Link to this post

    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
  2. Answer
    Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 23 Jan 2014 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top