Re: Image genration using jcchart & passing it to HTML client.

2000-05-22 Thread Hines, Bill

I used a server-side graphing/charting tool from Visual Engineering
(www.ve.com). It worked very well for this requirement.

Bill Hines

-Original Message-
From: Manish Bijay Kumar [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 10, 2000 9:41 AM
To: [EMAIL PROTECTED]
Subject: Image genration using jcchart & passing it to HTML client.


Hi all,
What I am trying to do is to create a graph at the server end using jcchart
and passing it to the client (HTML page). Does any body has done this
successfully. If yes..then please guide me.

Thanks in advance...
Manish Kumar

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Image genration using jcchart & passing it to HTML client.

2000-04-10 Thread Kevin Duffey

Keep in mind, GIF is a proprietary format, so you can't "legally" create a
gif image for use. You would have to license it to use it, and from what I
understand its not cheap.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Image genration using jcchart & passing it to HTML client.

2000-04-10 Thread Jacky Cheung

Hi,

To generate a chart to client, you need to write a Servlet to generate the chart
image (say, gif).
1. create a non visible Frame (i.e., call setVisible(false) or just don't call
setVisible(true))
2. add a chart to the frame and give the chart data to draw
3. get an ServletOutputStream
4. set the response content (say "image/gif" for gif). Optionally, you may want to
tell the browser not to cache the image
5. get the raw image by calling the chart's snapshot()
6. use image encoder (like the one from Acme) to convert the raw image to other
image format (like gif)
7. write the encoded image to the output stream

You can now add an IMG tag to get the image from the Servlet.

Best regards,
Jacky

Manish Bijay Kumar wrote:

> Hi all,
> What I am trying to do is to create a graph at the server end using jcchart
> and passing it to the client (HTML page). Does any body has done this
> successfully. If yes..then please guide me.
>
> Thanks in advance...
> Manish Kumar
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Image genration using jcchart & passing it to HTML client.

2000-04-10 Thread Mike McKechnie

I build server-side .jpg images of charts, but instead of using the built-in
image export code from my chart package, I use Sun's image export library
'cus it's faster. That's the com.sun.image.codec.* package, available on
their site.

_3
M

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Image genration using jcchart & passing it to HTML client.

2000-04-10 Thread Manish Bijay Kumar

Hi all,
What I am trying to do is to create a graph at the server end using jcchart
and passing it to the client (HTML page). Does any body has done this
successfully. If yes..then please guide me.

Thanks in advance...
Manish Kumar

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets