Search found 9 matches

by bmoody
Thu Jun 17, 2004 7:37 pm
Forum: JFreeChart
Topic: PJA/Linux Can't connect to X11 window serve
Replies: 1
Views: 2895

OK, I wanted to test to see if the meter chart was the problem. I replaced the meter chart with the same bar chart and both bar charts display ok but now one of the thermometer charts do not display. The same error is produced: java.lang.InternalError: Can't connect to X11 window server using ':0.0'...
by bmoody
Thu Jun 17, 2004 6:50 pm
Forum: JFreeChart
Topic: PJA/Linux Can't connect to X11 window serve
Replies: 1
Views: 2895

PJA/Linux Can't connect to X11 window serve

I have a web app using JFreechart that runs across multiple platforms (HP, Sun, Win, AIX, Linux). On some Linux boxes the graphs display fine, however on others, only some of the graphs appear. Specifically, I display a meter graph followed by a bar chart followed by several thermometer charts. The ...
by bmoody
Tue Mar 23, 2004 1:15 am
Forum: JFreeChart
Topic: localization
Replies: 3
Views: 6004

localization

I using the following encoding in my html page. Note, when I pass the following Japanese text directly into my html page, it displays fine. However, when I pass the same text to the JFreeChart methods to set the title & labels, the text does not display. <meta http-equiv="charset" content="UTF-8"> <...
by bmoody
Fri Mar 19, 2004 9:59 pm
Forum: JFreeChart
Topic: localization
Replies: 3
Views: 6004

localization

I have a resource bundle that contains Japanese text that I would like to use in the JFreeChart graphs that I include in my application. When I display the Japanese characters in my html page, they display fine. However, if I pass them to the JFreeChart methods to set titles, etc..., garbage (empty ...
by bmoody
Thu Dec 18, 2003 6:06 am
Forum: JFreeChart
Topic: MeterChart - Legend not visible
Replies: 5
Views: 8743

So, how would one go about displaying the legend as shown in the demo.

Thanks,
by bmoody
Thu Dec 11, 2003 6:06 pm
Forum: JFreeChart
Topic: Immediate HELP needed - UnsatisfiedLinkError libXp.so.6
Replies: 0
Views: 1843

Immediate HELP needed - UnsatisfiedLinkError libXp.so.6

All, I am running JFreeChart on linux using java 1.3.1 and run into the exception: .UnsatisfiedLinkError: /usr/java/jdk1.3.1_09/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directoty I initially received the exception " Can't connect to X11 window server using ...
by bmoody
Fri Dec 05, 2003 9:05 pm
Forum: JFreeChart
Topic: jsp error: getOutputStream() has already been called for thi
Replies: 5
Views: 10683

One workaround that I found was to synchronize my servlet.

synchronized (this) {
.....





}
by bmoody
Wed Dec 03, 2003 8:16 pm
Forum: JFreeChart
Topic: calling from a jsp page
Replies: 5
Views: 7686

try
<img src ="MyServlet?imgType=chart1">

then in the servlet
String imgType = request.getParameter("imgType");

if(imgType.equals("chart1"))
{....
by bmoody
Wed Dec 03, 2003 8:08 pm
Forum: JFreeChart
Topic: jsp error: getOutputStream() has already been called for thi
Replies: 5
Views: 10683

getOutputStream() has already been called for

I also receive the exception "org.apache.jasper.JasperException: getOutputStream() has already been called for this response". I'm using a jsp which invokes a servlet to obtain 2 different graphs to display. I have included the jsp and servlet code below. How can I avoid the exception? .....the jsp ...