/// <summary> /// save the content of the chart /// </summary> /// <param name="dir"></param> public void SaveTo(string dir) { AdddDataTableToChart(); CreateContentBody(); ChartExporter export = new ChartExporter (); export.Export (this.Document,dir); }