Putting label in barseries into bar

Thread is closed for posting
2 posts, 0 answers
  1. Matthias
    Matthias avatar
    2 posts
    Member since:
    Oct 2013

    Posted 18 Mar 2014 Link to this post

    since my labels on a bar series (with maximum 6 categories) are sometimes pretty long, I have the following LabelTemplate:

                                        <TextBlock Text="{Binding}" Width="120" TextWrapping="Wrap" />
    But unfortunately this give very height labels, and reduces the height of the chart. So I want to put those labels into the bar itself and save the space, like LabelDefinitions - but there it shows me the value instead of the category.

    You have any ideas, how to achieve this?
  2. Victor
    Victor avatar
    1358 posts

    Posted 19 Mar 2014 Link to this post

    Hello Matthias,

    Thanks for writing.
    This is actually a feature that we are currently working on. We called it outer/inner labels. In a future release you will be able to specify whether the labels are drawn inside the chart or outside it. For now this is not possible however.

    Please write again if you have other questions.


    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

Back to Top