コード例 #1
1
 public void EmptySeries()
 {
     //WPF and WinForms
     var theTestGuy = new LiveCharts.Wpf.CartesianChart
     {
         Series = new SeriesCollection()
     };
     theTestGuy.MockIt(new CoreSize(200, 200));
     theTestGuy.Update();
 }
コード例 #2
1
 public void NullSeries()
 {
     //WPF and WinForms
     var theTestGuy = new LiveCharts.Wpf.CartesianChart
     {
         Series =  null
     };
     theTestGuy.MockIt(new CoreSize(200, 200));
     theTestGuy.Update();
 }
コード例 #3
1
        public void EmptyValues()
        {
            //WPF and WinForms
            var theTestGuy = new LiveCharts.Wpf.CartesianChart
            {
                Series = new SeriesCollection
                {
                    new LiveCharts.Wpf.LineSeries
                    {
                        Values = new ChartValues<double>()
                    },
                    new LiveCharts.Wpf.VerticalLineSeries
                    {
                        Values = new ChartValues<double>()
                    },
                    new LiveCharts.Wpf.ColumnSeries
                    {
                        Values = new ChartValues<double>()
                    },
                    new LiveCharts.Wpf.RowSeries
                    {
                        Values = new ChartValues<double>()
                    },
                    new LiveCharts.Wpf.StackedAreaSeries
                    {
                        Values = new ChartValues<double>()
                    },
                    new LiveCharts.Wpf.VerticalStackedAreaSeries
                    {
                        Values = new ChartValues<double>()
                    },
                    new LiveCharts.Wpf.StackedRowSeries
                    {
                        Values = new ChartValues<double>()
                    },
                    new LiveCharts.Wpf.StackedRowSeries
                    {
                        Values = new ChartValues<double>()
                    },
                    new LiveCharts.Wpf.StackedColumnSeries
                    {
                        Values = new ChartValues<double>()
                    },
                    new LiveCharts.Wpf.StackedRowSeries
                    {
                        Values = new ChartValues<double>()
                    },
                    new LiveCharts.Wpf.OhlcSeries
                    {
                        Values = new ChartValues<double>()
                    },
                    new LiveCharts.Wpf.BubbleSeries
                    {
                        Values = new ChartValues<double>()
                    }
                }
            };

            theTestGuy.MockIt(new CoreSize(200, 200));
            theTestGuy.Update();
        }
コード例 #4
0
        public void NullSeries()
        {
            //WPF and WinForms
            var theTestGuy = new LiveCharts.Wpf.CartesianChart
            {
                Series = null
            };

            theTestGuy.MockIt(new CoreSize(200, 200));
            theTestGuy.Update();
        }
コード例 #5
0
        public void EmptySeries()
        {
            //WPF and WinForms
            var theTestGuy = new LiveCharts.Wpf.CartesianChart
            {
                Series = new SeriesCollection()
            };

            theTestGuy.MockIt(new CoreSize(200, 200));
            theTestGuy.Update();
        }
コード例 #6
0
        public void EmptyValues()
        {
            //WPF and WinForms
            var theTestGuy = new LiveCharts.Wpf.CartesianChart
            {
                Series = new SeriesCollection
                {
                    new LiveCharts.Wpf.LineSeries
                    {
                        Values = new ChartValues <double>()
                    },
                    new LiveCharts.Wpf.VerticalLineSeries
                    {
                        Values = new ChartValues <double>()
                    },
                    new LiveCharts.Wpf.ColumnSeries
                    {
                        Values = new ChartValues <double>()
                    },
                    new LiveCharts.Wpf.RowSeries
                    {
                        Values = new ChartValues <double>()
                    },
                    new LiveCharts.Wpf.StackedAreaSeries
                    {
                        Values = new ChartValues <double>()
                    },
                    new LiveCharts.Wpf.VerticalStackedAreaSeries
                    {
                        Values = new ChartValues <double>()
                    },
                    new LiveCharts.Wpf.StackedRowSeries
                    {
                        Values = new ChartValues <double>()
                    },
                    new LiveCharts.Wpf.StackedRowSeries
                    {
                        Values = new ChartValues <double>()
                    },
                    new LiveCharts.Wpf.StackedColumnSeries
                    {
                        Values = new ChartValues <double>()
                    },
                    new LiveCharts.Wpf.StackedRowSeries
                    {
                        Values = new ChartValues <double>()
                    },
                    new LiveCharts.Wpf.OhlcSeries
                    {
                        Values = new ChartValues <double>()
                    },
                    new LiveCharts.Wpf.BubbleSeries
                    {
                        Values = new ChartValues <double>()
                    }
                }
            };

            theTestGuy.MockIt(new CoreSize(200, 200));
            theTestGuy.Update();
        }