Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 QCChart2D and QCChart2D CF (VB and C#)
 BufferedImage bugs?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

zzhu

2 Posts

Posted - 28 Jun 2006 :  17:29:14  Show Profile  Reply with Quote
I could not go through the BufferedImage object method render(), why?

------code---------
BufferedImage chartImage = new BufferedImage();
chartImage.SetChartViewComponent(chartVu);
//ChartView objct chartVu has been created

chartImage.Render();
//failed this method and no error messages.

--------------------

Thanks for help.

quinncurtis

1164 Posts

Posted - 28 Jun 2006 :  18:33:17  Show Profile  Reply with Quote
Based on the information provided, we can't tell what is wrong.

We have a simple example program, LinePlotSalesVolume that demonstrates the BufferedImage class. The file image is saved using the main menu's File | Save Image option. Have you verified that the example program works ?

If so, you should substitute you own graph for the one in that example. What are the results ?

Our own example does not use the default constructor. Instead the code looks like:


BufferedImage savegraph = new BufferedImage(chartview, fileimageformat);
savegraph.Render();
savegraph.SaveImage(filename);




Go to Top of Page

zzhu

2 Posts

Posted - 29 Jun 2006 :  10:13:31  Show Profile  Reply with Quote
thanks for replying. I have figured out why since I had some problematic data for plotting.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07