Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="RadChartBase"/> class.
        /// </summary>
        protected RadChartBase()
        {
            this.clipToBounds = true;

            this.chartArea            = this.CreateChartAreaModel();
            this.unattachedPresenters = new List <ChartElementPresenter>();
            this.StackedSeriesContext = new StackedSeriesContext();

            // hook events
            this.SizeChanged += this.OnSizeChanged;

            this.InitManipulation();
        }
Exemplo n.º 2
0
 /// <summary>
 /// Creates the model of the plot area.
 /// </summary>
 internal override ChartAreaModel CreateChartAreaModel()
 {
     this.pieArea = new ChartAreaModel();
     return(this.pieArea);
 }