Inheritance: LiveCharts.ChartUpdater
コード例 #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);

            SetCurrentValue(SeriesProperty, new SeriesCollection());
        }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of CartesianChart class
        /// </summary>
        public CartesianChart()
        {
            var freq = DisableAnimations ? TimeSpan.FromMilliseconds(10) : AnimationsSpeed;
            var updater = new Components.ChartUpdater(freq);
            ChartCoreModel = new CartesianChartCore(this, updater);

            SetValue(VisualElementsProperty, new VisualElementsCollection());
        }
コード例 #3
0
        public CartesianChart()
        {
            var freq    = DisableAnimations ? TimeSpan.FromMilliseconds(10) : AnimationsSpeed;
            var updater = new Components.ChartUpdater(freq);

            ChartCoreModel = new CartesianChartCore(this, updater);

            SetValue(VisualElementsProperty, new VisualElementsCollection());
        }
コード例 #4
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);

            SetCurrentValue(SeriesProperty, new SeriesCollection());
        }
コード例 #5
0
        /// <summary>
        /// Initializes a new instance of CartesianChart class
        /// </summary>
        public CartesianChart()
        {
            var freq = DisableAnimations ? TimeSpan.FromMilliseconds(10) : AnimationsSpeed;
            var updater = new Components.ChartUpdater(freq);
            ChartCoreModel = new CartesianChartCore(this, updater);

            SetCurrentValue(SeriesProperty,
                DesignerProperties.GetIsInDesignMode(this)
                    ? GetDesignerModeCollection()
                    : new SeriesCollection());

            SetCurrentValue(VisualElementsProperty, new VisualElementsCollection());
        }
コード例 #6
0
        /// <summary>
        /// Initializes a new instance of CartesianChart class
        /// </summary>
        public CartesianChart()
        {
            var freq    = DisableAnimations ? TimeSpan.FromMilliseconds(10) : AnimationsSpeed;
            var updater = new Components.ChartUpdater(freq);

            ChartCoreModel = new CartesianChartCore(this, updater);

            SetCurrentValue(SeriesProperty,
                            DesignerProperties.GetIsInDesignMode(this)
                    ? GetDesignerModeCollection()
                    : new SeriesCollection());

            SetCurrentValue(VisualElementsProperty, new VisualElementsCollection());
        }
コード例 #7
0
ファイル: PieChart.cs プロジェクト: Chandu-cuddle/Live-Charts
 /// <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);
 }