This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I am using a Stacked Bar graph and am trying to show the legend. The graph shows the Legend but shows the items like "Item1", "Item2", .... but not the x-axis element names I used. The colors show up fine but just cannot label them as on the XAxis. Am I missing a step? My code looks like this Chart Title="Stacked Bar chart" LegendPosition="Right" ms:StackedBarSeries ItemsSource="{Binding allObjectiveData}" ShowAllLegendItems="True" ShowDataLabels="True" IsShownInLegend="True" DataLabelStyle="{StaticResource DataLabelStyle}" LegendIconTemplate="{StaticResource LegendIconTemplate}" The bindingSource I have given is a list of (new Mindscape.MetroElements.Charting.StringDouble(string,double)). How can I get the label for the legend Items? Thank you. |
|
|
Hello vishnu This sounds like a bug. I'll be looking into this very soon. Jason Fauchelle |
|
|
Hello vishnu I have updated BarSeries and StackedBarSeries to automatically set the legend item titles in your scenario. This update will be available around the end of the week. Alternatively, you can set the TitleBinding property to {Binding String} to set it manually. Jason Fauchelle |
|
|
Hello Vishnu This update is available now. You can get the latest beta from here: http://www.mindscapehq.com/products/metroelements/download Jason Fauchelle |
|