Chart controls: place labels on columns with columns with columns

I am creating a column graph for columns, but currently I am limited by the lack of label positioning for each series. There are no custom properties that are related to alignment of label positioning, is there any other way to move labels or align them for stacked diagrams?

+4
source share
2 answers

By creating a dummy series and manually setting each label value, you can move the column label labels to the top or bottom of the stack. It is limited and, of course, not what I would like, but it is the best that I have found so far.

While the control used is different, the best example of the concept I found is given here: the total value of each column in the column stack

Check out my blog post for more details and a better method for handling this: http://jeremeguenther.blogspot.com/2015/02/overlapping-columns-in-microsoft-aspnet.html

+2
source

last paragraph from msdn message:

you can check SmartLabelStyle , although I have never used it with a column chart type. link

0
source

Source: https://habr.com/ru/post/1382324/


All Articles