private WallStyle CreateChartWallStyle(XmlNode nodeStyle)
{
WallStyle wallStyle =new WallStyle (this.Chart .Document);
wallStyle.Node = nodeStyle;
IPropertyCollection pCollection = new IPropertyCollection ();
if (nodeStyle.HasChildNodes)
{
foreach(XmlNode nodeChild in nodeStyle.ChildNodes )
{
IProperty property = this.GetProperty (wallStyle,nodeChild);
if (property!=null)
pCollection.Add (property);
}
}
wallStyle.Node.InnerXml="";
foreach(IProperty property in pCollection)
wallStyle.PropertyCollection .Add (property);
//this.Chart .Styles .Add (wallStyle);
return wallStyle;
}