public GraphView(XMLDoc sub)
 {
     this.sub = sub;
     sub.Attach(this);
 }
 public ChartView(XMLDoc sub)
 {
     this.sub = sub;
     sub.Attach(this);
 }