Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
How to dynamically create a stacked column series with MVVM Binding
posted

Hi,

I am trying to create a dynamic stacked column series that binds to the data in view model.

Here is the sample of data I have

var ChartData = new ObservableCollection<CityData>();

public class CityData

{

string CityName;

ObservableCollection<CityInfo> Info;

}

public class CityInfo

{

string BuildingType

int BuildingCount

}

I am trying to create a stacked column series with City names on X axis and columns with multiple stacked fragmented series by Building Type and Count