AODL.Document.Content.EmbedObjects.EmbedObjectHandler.CreateChart C# (CSharp) Method

CreateChart() public method

create the chart
public CreateChart ( XmlNode ParentNode, string ObjectRealPath, string ObjectName ) : Chart
ParentNode System.Xml.XmlNode
ObjectRealPath string
ObjectName string
return AODL.Document.Content.Charts.Chart
		public  Chart CreateChart(XmlNode ParentNode, string ObjectRealPath,string ObjectName)
		{
			Chart chart                 = new Chart (this._document ,null,ParentNode);

			chart.ObjectType            = "chart";

			chart.ObjectName            = ObjectName;

			chart.ObjectRealPath        = ObjectRealPath;

			ChartImporter chartimporter = new ChartImporter (chart);

			chartimporter.Import ();

			return chart;
		}