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