Esempio n. 1
0
        public void CanAddFromXy()
        {
            var series = new FlotSeries(null);

            series.Add(2, 3);
            Assert.AreEqual(1, series.Data.Count);
        }
Esempio n. 2
0
        public void CanAddSinglePoint()
        {
            var series = new FlotSeries(null);

            series.Add(new FlotPoint(2, 3));
            Assert.AreEqual(1, series.Data.Count);
        }
Esempio n. 3
0
        public void CanAddEnumerableFuncPoints()
        {
            var indexes = new [] {1,2,3,4,5};

            var series = new FlotSeries(null);
            series.Add(indexes, x=> new FlotPoint(x,x));
            Assert.AreEqual(5, series.Data.Count);
        }
Esempio n. 4
0
        public void CanAddEnumerableFuncPoints()
        {
            var indexes = new [] { 1, 2, 3, 4, 5 };

            var series = new FlotSeries(null);

            series.Add(indexes, x => new FlotPoint(x, x));
            Assert.AreEqual(5, series.Data.Count);
        }
Esempio n. 5
0
        public void CanAddEnumerablePoints()
        {
            var points = new[] {
                new FlotPoint(1,1),
                new FlotPoint(2,2),
                new FlotPoint(3,3)
            };

            var series = new FlotSeries(null);
            series.Add(points);
            Assert.AreEqual(3, series.Data.Count);
        }
Esempio n. 6
0
        public void CanAddEnumerablePoints()
        {
            var points = new[] {
                new FlotPoint(1, 1),
                new FlotPoint(2, 2),
                new FlotPoint(3, 3)
            };

            var series = new FlotSeries(null);

            series.Add(points);
            Assert.AreEqual(3, series.Data.Count);
        }
Esempio n. 7
0
 public void CanAddSinglePoint()
 {
     var series = new FlotSeries(null);
     series.Add(new FlotPoint(2, 3));
     Assert.AreEqual(1, series.Data.Count);
 }
Esempio n. 8
0
 public void CanAddFromXy()
 {
     var series = new FlotSeries(null);
     series.Add(2, 3);
     Assert.AreEqual(1, series.Data.Count);
 }