Hi,
Is there any possibility of Binding a collection of objects to XamDataChart series (LineSeries in general and ScatterSeries to be specific), which draws all series on chart and we don't have to define individual series separately? I actually can have undefined number of series and I don't want to generate series from Code side.
What are different possibilities in this scenario? Any help?
Hi Stefan,
May be you forget to attached the sample application ?
In the link that you shared with me, StackedBarSeries are created in code behind file but we use pure MVVM, so we didn't follow that approach pleases see my previous post attached sample, in which i was used groupby in View Model, now i need only tooltip of every series that are auto generated through view model. How can we achieve this goal through MVVM ?
Hello,
I have been looking into the sample and I modified it, so now the labels of the Series are displayed as you want. basically I changed the values in the DataSource. As for the legend series titles, I handled the StackedColumnSeries' SeriesCreated event and in the handler I set the Title. For the Tooltip you can see this forum thread:
http://ko.infragistics.com/community/forums/t/73905.aspx
where it is explained how to create a custom tooltip when using GroupBy. Also I can suggest you ask Graham what is the purpose of the the Assignation Property, but i believe it is added so the DataSource could be used with other type of Series, too.
Hope this help you.
Any update ?
I was look into it and its look good but i was faced following issues, can you fix these ?
If you don't want to deifne StackedFragments you can use the GroupBy Class to group your data. Here you can find more information about this:
http://ko.infragistics.com/community/forums/t/85128.aspx