Ejemplo n.º 1
0
 public static DataGraph Create(DataSet dataSource)
 {
     if (dataSource == null)
         throw new ArgumentNullException("dataSource");
     DataGraphPopulator pop = new DataGraphPopulator();
     pop.DataSource = dataSource;
     pop.Populate();
     return pop.Graph;
 }
 protected virtual void BuildGraph()
 {
     DataGraphPopulator gp = new DataGraphPopulator();
     gp.DataSource = this.DataSet;
     gp.Populate();
     this.graph = gp.Graph;
 }