public ChartGrid(Chart chart,string styleName) { this.Chart =chart; this.Document =chart.Document; this.NewXmlNode (styleName); }