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