Search found 21 matches

by axel
Wed Apr 30, 2008 7:17 pm
Forum: JFreeChart
Topic: DateAxis : Convert minutes to mm:ss
Replies: 8
Views: 10560

Of course, I thought of it !
But the data is coming from a database, and it's more difficult to change everything in it.

My chart is absolutely readable with floating-point minutes, but it would be a little more readable with the custom format I try to implement
by axel
Wed Apr 30, 2008 4:45 pm
Forum: JFreeChart
Topic: DateAxis : Convert minutes to mm:ss
Replies: 8
Views: 10560

No, in fact I use

Code: Select all

CategoryPlot plot = (new CategoryPlot(data, domainAxis, rangeAxis, renderer));
by axel
Wed Apr 30, 2008 3:05 pm
Forum: JFreeChart
Topic: DateAxis : Convert minutes to mm:ss
Replies: 8
Views: 10560

Another question :oops: I write a custom NumberFormat class, named MinuteSecondFormat as follows public class MinuteSecondFormat extends NumberFormat { private double minutes; private double secondes; public MinuteSecondFormat(double duree) { minutes = Math.floor(duree); secondes = Math.round((duree...
by axel
Tue Apr 29, 2008 5:28 pm
Forum: JFreeChart
Topic: DateAxis : Convert minutes to mm:ss
Replies: 8
Views: 10560

Hi David

Many thanks for your answer.

Correct, 4.52 means 4 minutes and 31.2 seconds.

In this case the best solution is to write a custom NumberFormat class ?
by axel
Tue Apr 29, 2008 9:01 am
Forum: JFreeChart
Topic: DateAxis : Convert minutes to mm:ss
Replies: 8
Views: 10560

DateAxis : Convert minutes to mm:ss

Hi everybody, I'm trying to display a chart with a time axis presenting durations in minutes and seconds ( "mm:ss" ). I got data from a dataset where durations are in minutes, with a double format (eg: 4.52), and I would like to convert these minutes to mm:ss for the display in the chart. I tried th...
by axel
Thu Dec 13, 2007 10:19 pm
Forum: JFreeChart
Topic: Optimize execution time
Replies: 4
Views: 5253

Because Linux is generally faster than Windows ... but maybe there is something special with my application, and that's this point I would like to understand.
by axel
Thu Dec 13, 2007 2:27 pm
Forum: JFreeChart
Topic: Optimize execution time
Replies: 4
Views: 5253

You've correctly understood.... it has the same execution speed on Linux and Windows (I mean, approximately the same, I was not with a chronometer to measure time).

And I would have expected it to be much faster with Linux....
by axel
Thu Dec 13, 2007 1:47 pm
Forum: JFreeChart
Topic: Optimize execution time
Replies: 4
Views: 5253

Optimize execution time

Hi, I developed a small application connecting to a database and rendering graphics using JFreeChart. I was very surprised that the application is not faster on Linux (Debian) than on Windows (XP). So I was wondering what could be the reasons : is it because mathematical requests are faster on Linux...
by axel
Thu Sep 27, 2007 9:56 pm
Forum: JFreeChart
Topic: TimeSeries Chart
Replies: 6
Views: 9813

Thanks for yor answer David ! The setVerticalTickLabels functions very well ! It makes my chart readable now ! Concerning the overlapping lables problem, I have not specified any fixed tick size ... or at least it was not deliberate :lol: Could you just tell me how I could revert to the default sizi...
by axel
Wed Sep 26, 2007 9:08 am
Forum: JFreeChart
Topic: TimeSeries Chart
Replies: 6
Views: 9813

Anybody has an idea :( :( :(

Sorry to insist... it would really help me to solve this : I have the dates on the time axis that are superimposed, and it's impossible to read anything. I have tried to make the chart larger, but I still have the problem.

Thanks again for your help !
by axel
Mon Sep 17, 2007 7:02 pm
Forum: JFreeChart
Topic: TimeSeries Chart
Replies: 6
Views: 9813

Thanks for your answer.

Unfortunately I still have the problem :(

I found this old post
http://www.jfree.org/phpBB2/viewtopic.p ... 34df545000
I don't know it this feature was implemented in the meantime.... if somebody know, it would really help me !
by axel
Mon Sep 17, 2007 1:18 pm
Forum: JFreeChart
Topic: TimeSeries Chart
Replies: 6
Views: 9813

up :D :D :D

Nobody has an idea about this subject :cry:
by axel
Wed Sep 12, 2007 12:08 pm
Forum: JFreeChart
Topic: Generating PDF
Replies: 2
Views: 4348

Thanks for your answer !
It's very interesting. I didn't think to the quality of the PDF, and you raise an important point.
So I will probably follow your advice.

Concerning the URL C:\....., I thought the servlet would interprete it as the hard drive of the remote user....
by axel
Wed Sep 12, 2007 11:07 am
Forum: JFreeChart
Topic: Generating PDF
Replies: 2
Views: 4348

Generating PDF

Dear all, I have integrated some charts in a JSP file with DisplayChart servlet. This works fine. Now I would like to convert these charts into PDF. I have created a servlet to do this. My problem is that I would like to indicate to this servlet to use the charts previously generated for the display...
by axel
Sat Sep 08, 2007 5:15 pm
Forum: JFreeChart
Topic: TimeSeries Chart
Replies: 6
Views: 9813

TimeSeries Chart

Hi everybody !

I am trying to rotate the labels on a timeseries chart ? Is there a similar function to SetCategoryLabelPositions ?

Many thanks in advance !!

Axel