//private ObservableCollection<AssetClass> classes;///////////////// //private ObservableCollection<AssetClass> classes1;//////////////// public MainWindow() { InitializeComponent(); Logic.Data.DbHelper db = new Logic.Data.DbHelper(); //classes = new ObservableCollection<AssetClass>(AssetClass.ConstructTestData());/////////// //piePlotterC.DataContext = classes;//////////// //classes1 = new ObservableCollection<AssetClass>(AssetClass.ConstructTestData1());///////////// //piePlotterD.DataContext = classes1;///////////////// }