Hi,
I would like to create a stacked bar chart with sections that I will not know at design time. Is there any way to do this at run time? Essentially I have a collection of Objects that each have a name and a score. So:
Collection<ObjectA>: <-Chart is bound to this
ObjectA has Collection<ObjectB> <- ideally want one bar in chart per ObjectB
ObjectB has Name and Value(numeric) property
I know that it won't work if each ObjectA has differing Names in its Collection<ObjectB>, but if we assume that each ObjectA has the same Names in its Collection<ObjectB>, or even that there is only one ObjectA in the Collection<ObjectA>, is this possible?
Thanks
I have managed to do this by creating Datapoints manually in code behind rather than using databinding.