We are having a problem with the stacked bar chart where the series are being constrained to the XAxis label position.
Below is an example chart. The series data overlap only on one XAxis label yet the series show the data overlapping completely.
Here is the data being represented by this chart. As you can see the data only overlap on 48/2010 yet the chart has overlapping data on 40/201, 41/201 etc. We should see a chart starting with blue bars, an overlapping 48/2010 bar and then the rest of the red bars.
Am I missing something obvious?
Thanks for you help.
Rick,
I have logged a feature request on your behalf. Our product team chooses new feature requests for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products so as trends appear in requested features, we can plan accordingly.
If your feature is chosen for development you will be notified at that time. Your reference number for this feature request is FR12654.
Thank you for your request.Sam
Please feel free to make a feature request to that effect, and we will see if we can accomodate. I think the current behavior stems from xamWebChart's origins in WPF where it would be most normal to bind to a DataTable, with a column for each series. The alignment requirements for the data are much more apparent when you consider this use case, or if you consider the case where you have a collection of "Row" objects, that have a property for each series to act as the single data source for all series in the chart.
However in silverlight, since your easiest option is to bind to collections, it becomes less evident why the chart essentially expects that data to be tabular. It would be unwise for us to unequivocally try to assert that the data were properly aligned and ordered for all series, as in the case where this was asserted by the application before binding, we would be wasting processing time for naught. But it should be possible to add a feature where the developer can indicate that the data may need to be reordered, if so desired.
-Graham
I understand. However, I would argue that the chart should fill in those gaps for you.
Thanks for the quick response. Much appreciated.
Rick, the series types with a category x axis expect that an entry exists for each label in each series, and that the values are in the proper order for each series. There is no automatic alignment based on the value of the labels, it will only align the values based on the index in the data source. See my post here on one method of ensuring the data is properly aligned before it is bound to the chart: http://community.infragistics.com/forums/p/38082/220246.aspx#220246
I said ... are being constrained... I meant ... are not being constrained ...