Search found 6 matches

by mrburns2002
Mon Apr 06, 2009 5:00 pm
Forum: JFreeChart
Topic: No X11 DISPLAY was set ERROR!
Replies: 3
Views: 7551

Re: No X11 DISPLAY was set ERROR!

http://www.jfree.org/jfreechart/faq.html #10 From the stack trace it appears as though your code is trying to create a JFrame, which will obviously fail on a server. This problem still occurs. Even after having taken your ideas into account. Is it possible to redirect the output to my local server?...
by mrburns2002
Mon Apr 06, 2009 4:50 pm
Forum: JFreeChart
Topic: How to generate chart image without invoking JFrame
Replies: 1
Views: 1960

How to generate chart image without invoking JFrame

Hi, as I would like to run JFree Chart on the server without X11, I need to avoid invoking the JPanel window: My code is like this: JFreeChart jfreechart = createChart(dataset,title,avg_p_value); ChartPanel chartPanel = new ChartPanel(jfreechart); chartPanel.setPreferredSize(new java.awt.Dimension(6...
by mrburns2002
Fri Apr 03, 2009 12:26 pm
Forum: JFreeChart
Topic: No X11 DISPLAY was set ERROR!
Replies: 3
Views: 7551

No X11 DISPLAY was set ERROR!

Hi, I was running some JFree methods on a server an following error occurred: No X11 DISPLAY variable was set, but this program performed an operation which requires it. java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.aw...
by mrburns2002
Tue Mar 03, 2009 9:51 am
Forum: JFreeChart
Topic: How to disappear gap in y axis
Replies: 2
Views: 3140

How to disappear gap in y axis

Hi there, I have a problem: Assume, I have two time lines in my chart - the one is a line with values between 90-100 (y axis) and the second one has values between 1-10 (y axis). Now, I receive a chart with a very big gap between the two lines (11-89 y-axis). How can I make the chart that the chart ...
by mrburns2002
Wed Feb 11, 2009 5:25 pm
Forum: JFreeChart
Topic: LineChart Date Order Problem
Replies: 3
Views: 3072

david.gilbert wrote:Are you using a CategoryDataset? That isn't ideal for date-based data. Instead, use an XYPlot with a TimeSeriesCollection.
Thanks and how would that look like? Yes, I use CategoryDataset
Can you give me an example?
by mrburns2002
Tue Feb 10, 2009 12:55 pm
Forum: JFreeChart
Topic: LineChart Date Order Problem
Replies: 3
Views: 3072

LineChart Date Order Problem

Hi, I try to insert values into my linechart like this: avg_pathlength_dataset.addValue(curr_weight, current_word, curr_date); curr_date is a String with the date in this format : YYYYMMDD But at the end of the day I get a chart with mixed date order. How can I order the dates from the "smallest" da...