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

Bar chart with labels inside bars.

1 Answer 107 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Cleanwatts
Top achievements
Rank 1
Cleanwatts asked on 26 Jun 2017, 03:32 PM

Hi,

 

I'm trying to create an horizontal bar chart with labels inside the bars, close the to right side of the bars, line in labels-inside.png. I have tried several things but the closest I could get to it was the labels right after the bars (see labels-outside.png). 

 

How can I get the labels inside the bars close to the right edge? Is it possible?

 

Thanks,

 

Luis Barreira

1 Answer, 1 is accepted

Sort by
0
Cleanwatts
Top achievements
Rank 1
answered on 26 Jun 2017, 03:44 PM

I found a solution to my problem:

I created a PointTemplate for the series consisting of a Border with a TextBlock inside.

Tags
ChartView
Asked by
Cleanwatts
Top achievements
Rank 1
Answers by
Cleanwatts
Top achievements
Rank 1
Share this question
or