If i add some barseries to chart its arrange from bottom to top. Can i change this behavior that first added series will be at top and last - at bottom? Additionally I want same order in legend.
Additional questions:
1. How I can change distance between bars from others BarSeries (I have many series with single bar)?
2. How I can insert text in bars or near it?
Hi,
Try setting IsInverted on the y axis.
I can't recall if this affects the legend, there may have been a seperate property for that. Let me know if this works out for you.
For text over the bars, you could put text in a DataTemplate and assign it as the MarkerTemplate of the series. Setting a negative left margin would shift this value into the bars, but you will run into all sorts of interesting issues with short bars, etc. So you may find it more useful to have it displayed to the right and adjust the MaximumValue of the y axis to leave room for the labels. Or to convey your infromation in a tooltip, alternatively.
-Graham
Thanks for your answer. But what about space between bars?
Next question: how do I make the height of bars is not changed, but stay always the same? Now if I add one bar it take all space, if i have two bars each take 50% of space and etc.