Esempio n. 1
0
 public static void GetERModel(List<DataSet> list, Graphics graph)
 {
     ERModel model = new ERModel(list);
     model.Graph = graph;
     model.Paint();
 }
Esempio n. 2
0
 public static void GetERModel(List<DataSet> list, string filename, System.Drawing.Imaging.ImageFormat format, Size size)
 {
     ERModel model = new ERModel(list);
     Size sizeGraph = Size.Ceiling(model.GraphSize);
     Bitmap bmp = new Bitmap(Math.Max(sizeGraph.Width, size.Width), Math.Max(sizeGraph.Height, size.Height));
     Graphics graph = Graphics.FromImage(bmp);
     model.Graph = graph;
     model.Paint();
     bmp.Save(filename, format);
 }
Esempio n. 3
0
 public void GetERModel(Graphics graph)
 {
     ERModel model = new ERModel(this.fRealDataSet);
     model.Graph = graph;
     model.Paint();
 }