This question is locked. New answers and comments are not allowed.
                        
                        Hello,
I'm creating a SeriesMapping in code behind as I need to dynamically change the series in chart depending on a number of other factors. I need to bind a specific property to my view model, specifically in this case, I need to bind ShowItemsLabel on the SeriesDefinition from code behind. My code goes something like this:
The question is how would I use a SetBinding() to bind the new series definition using the two lines above?
Thanks,
E.
                                I'm creating a SeriesMapping in code behind as I need to dynamically change the series in chart depending on a number of other factors. I need to bind a specific property to my view model, specifically in this case, I need to bind ShowItemsLabel on the SeriesDefinition from code behind. My code goes something like this:
seriesMapping.SeriesDefinition = new BarSeriesDefinition() {ItemLabelFormat = "#Y{###,###,##0}"};var binding = new Binding("ShowItemLabels");The question is how would I use a SetBinding() to bind the new series definition using the two lines above?
Thanks,
E.
