public static void GetERModel(List<DataSet> list, Graphics graph) { ERModel model = new ERModel(list); model.Graph = graph; model.Paint(); }
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); }
public void GetERModel(Graphics graph) { ERModel model = new ERModel(this.fRealDataSet); model.Graph = graph; model.Paint(); }