示例#1
0
 public Series(string aname, ChartType acharttype, LinkedList <Point2D> apoints)
 {
     name      = aname;
     charttype = acharttype;
     setPoints(apoints);
 }
示例#2
0
 public Series(string aname, ChartType acharttype, Point2D[] apoints)
 {
     name      = aname;
     charttype = acharttype;
     setPoints(apoints);
 }
示例#3
0
 public Series(string aname, ChartType acharttype) : this(aname, acharttype, new Point2D[0])
 {
 }
示例#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();
        }