private IContent CreateChartWall(XmlNode node)
{
try
{
ChartWall wall = new ChartWall(this.Chart .Document ,node);
//grid.Node = node;
wall.Chart = this.Chart ;
ChartStyleProcessor csp = new ChartStyleProcessor (this.Chart );
XmlNode nodeStyle = csp.ReadStyleNode(wall.StyleName);
IStyle style = csp.ReadStyle (nodeStyle,"wall");
if (style != null)
{
wall.Style =style;
this.Chart .Styles .Add (style);
}
return wall;
}
catch(Exception ex)
{
throw new AODLException("Exception while creating the chart wall!", ex);
}
}