Hi Infragistics,I am having issues in getting the StackColumnSeries working through Binding. A very similar issue has already been raised at https://es.infragistics.com/community/forums/f/retired-products-and-controls/64311/is-any-way-of-creating-dynamically-stackedfragmentseries-of-a-stackedcolumnseries/352486#352486
I have followed the same set of steps but did not get it working. It works only if the Group is sourced from the static resource not through the Binding. Please find the sample project that I would like to please review and suggest the way out.Many ThanksAmir Bakhsh
Hi,Could anyone please help me with the above issues. It is holding me back.Much appreciated.
Amir
Hello Amir,
Thank you for your post. I have been looking into it and the sample you have provided and I modified it, so now it works as you want. Basically I set the StackedColumnSeries’ AutoGenerateSeries Property to True and changed the structure of the DataSource you use. I also put comments in the XAML for your reference. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
I modified the sample further, so now it works as you want. The GroupBy’s ItemsSource is bound to a Property of the ViewModel class.
Hope this helps you.
Hi I am having the same issue,
I have just set the autogenerateseries to true, but i dont get a stacked column series at all, all i get is a regular column chart, why is it not stacking ? cam you please send a very simple sample wehere the columns are stacked correctly? i looked at the silverlight infragistics Samples and project but the project bundles all 52 projects of every type of controls under one solution and is some what convoluted, as each samplke is added from a massive list!
Hi Stephan, also can the sample you put up be in silverlight ? the TilesTest.zip you have is actually in WPF i thought it would be in silverlight as this is a silverlight forum? thanks
Hello,
Thank you for your post. Since the Amir’s sample was on WPF, I modified it and uploaded it, because the XamDataChart is a cross-platform control and any code in WPF will compile in Silverlight, too. I also attached a sample (“TilesTest2.zip”), which has the same functionality as the other one, but it is built on Silverlight.
thank you i am testing it now...
Hi stephan,
thank you so much i figured the rest out...all i needed to do is to add additional datapoints for the rest of the months in the year to the Series Data and the chart automatically generated the additional stacked columns for the x-axis.
thanks so much!!!!
Basically my question is how to 'categorise' each column on the X-axis, the sample code for the link i sent you does not show this, if you can modify the sample you sent to me showing at least 2 stacked column on the x-axis and categorised or "grouped as shown according to "countries" in the linked but i suppose in the sample you sent to me it will be accorind to Dates, that would really be helpful thank you so much.
Hi thanks Stephan, it is working i dont see it 'stacked' or is it beacuse it is only one column ?
this is the look i am trying to achieve
https://es.infragistics.com/samples/silverlight/data-chart/#/gallery-category-series
exactly like this link above.thank you