Example #1
0
 public Series(string aname, ChartType acharttype, LinkedList <Point2D> apoints)
 {
     name      = aname;
     charttype = acharttype;
     setPoints(apoints);
 }
Example #2
0
 public Series(string aname, ChartType acharttype, Point2D[] apoints)
 {
     name      = aname;
     charttype = acharttype;
     setPoints(apoints);
 }
Example #3
0
 public Series(string aname, ChartType acharttype) : this(aname, acharttype, new Point2D[0])
 {
 }
Example #4
0
 public Series(string aname, ChartType acharttype, ArrayList apoints)
 {
     name      = aname;
     charttype = acharttype;
     setPoints(apoints);
 }
        public void addThemedPoint(string theme_name, double value, bool advanceTime, ChartType chartType)
        {
            if (advanceTime)
            {
                ++current_age;
            }

            if (!themes.ContainsKey(theme_name))
            {
                themes[theme_name] = new Theme();
            }

            Theme theme = themes[theme_name];

            theme.points.AddLast(new Point2D(current_age, value));
            theme.chartType = chartType;
            staleOldPoints();
            rebuildSeries();
        }