Summary description for ChartWall.
Наследование: IContent
Пример #1
0
        /// <summary>
        /// create the chart wall
        /// </summary>
        /// <param name="node"></param>
        /// <returns></returns>

        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);
            }
        }
		/// <summary>
		/// create the chart wall
		/// </summary>
		/// <param name="node"></param>
		/// <returns></returns>

		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);
			}
		}