Inheritance: ChartCore
Beispiel #1
0
        /// <summary>
        /// Initializes a new instance of PieChart class
        /// </summary>
        public PieChart()
        {
            var freq = DisableAnimations ? TimeSpan.FromMilliseconds(10) : AnimationsSpeed;
            var updater = new Components.ChartUpdater(freq);
            ChartCoreModel = new PieChartCore(this, updater);

            this.SetIfNotSet(SeriesProperty, new SeriesCollection());
        }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of PieChart class
 /// </summary>
 public PieChart()
 {
     var freq = DisableAnimations ? TimeSpan.FromMilliseconds(10) : AnimationsSpeed;
     var updater = new Components.ChartUpdater(freq);
     ChartCoreModel = new PieChartCore(this, updater);
 }