Exemplo n.º 1
0
        public DataSetCollection(string Title, List <object> DataSet)
        {
            Count = DataSet.Count;
            DataPtSet TempSet = new DataPtSet(Title, ObjectListToDataPointList(DataSet));

            TempSet = CalculateDefaults(TempSet);

            Sets.Add(TempSet);
        }
Exemplo n.º 2
0
        public DataSetCollection(string Title, List <DataPt> DataSet)
        {
            Count = DataSet.Count;
            DataPtSet TempSet = new DataPtSet(Title, DataSet);

            TempSet = CalculateDefaults(TempSet);

            Sets.Add(TempSet);
        }
Exemplo n.º 3
0
        private DataPtSet CalculateDefaults(DataPtSet TempSet)
        {
            TotalCustomFill   += TempSet.CalculateCustomFills();
            TotalCustomFont   += TempSet.CalculateCustomFonts();
            TotalCustomMarker += TempSet.CalculateCustomMarkers();
            TotalCustomTitles += TempSet.Graphics.CustomFonts;
            TotalCustomStroke += TempSet.CalculateCustomStrokes();
            TotalCustomLabel  += TempSet.CalculateCustomLabels();

            return(TempSet);
        }
Exemplo n.º 4
0
        public DataSetCollection(List <string> Title, List <List <DataPt> > DataSet)
        {
            Count = DataSet.Count;
            for (int i = 0; i < Count; i++)
            {
                DataPtSet TempSet = new DataPtSet(Title[i], DataSet[i]);

                TempSet = CalculateDefaults(TempSet);

                Sets.Add(TempSet);
            }
        }
Exemplo n.º 5
0
        public DataSetCollection(List <string> Title, List <List <object> > DataSet)
        {
            Count = DataSet.Count;

            for (int i = (Title.Count - 1); i < Count; i++)
            {
                Title.Add(Title[Title.Count - 1]);
            }

            for (int i = 0; i < Count; i++)
            {
                DataPtSet TempSet = new DataPtSet(Title[i], ObjectListToDataPointList(DataSet[i]));

                TempSet = CalculateDefaults(TempSet);

                Sets.Add(TempSet);
            }
        }