private void DashboardDesigner1_DataLoading(object sender, DevExpress.DashboardCommon.DataLoadingEventArgs e) { if (e.DataSourceComponentName == "dsExport") { e.Data = CustomItemDataGenerator.GetExportData(); } else if (e.DataSourceComponentName == "dsContinent") { e.Data = CustomItemDataGenerator.GetContinentData(); } }
private void dashboardViewer1_DataLoading(object sender, DevExpress.DashboardCommon.DataLoadingEventArgs e) { e.Data = ds; }