Search found 26 matches

by Filoche
Mon Jul 07, 2008 4:10 pm
Forum: JFreeChart
Topic: Domain axis problem (many series)
Replies: 6
Views: 8165

...check that all your datasets have the same category values (add a null y-value if you have to) Hi David and ty for your reply. The problem is most likely this. Lets say I have 2 datasets. Each dataset have been created with his own x-axis. And make x axis of each ds be : ds1 (x values) = 1,2,3,4...
by Filoche
Thu Jun 12, 2008 3:28 pm
Forum: JFreeChart
Topic: TickLabels
Replies: 1
Views: 2706

Re: TickLabels

kds_kuldeep wrote:1.Showing tick labels on x axis vertically aligned
Check at
CategoryAxis.setCategoryLabelPositions(..)

--
Phil
by Filoche
Thu Jun 12, 2008 1:37 pm
Forum: JFreeChart
Topic: Domain axis problem (many series)
Replies: 6
Views: 8165

Hi all. I have been trying to resolve my problem. What I was thinking was to map all the dataset to the same domain axis (Look at plot.mapDatasetToDomainAxis(pos, 0); ): public void CreateLineSerie(String serie, String xValues[], double yValues[],double stdev[]) { final ExtendedDefaultStatisticalCat...
by Filoche
Tue Jun 10, 2008 2:17 pm
Forum: JFreeChart
Topic: String values in X axis
Replies: 15
Views: 30196

As David said look at CategoryPlot.

There's many examples aviable for you (ex.: linechartdemo7.java) in the demo jar coming with JFree.

Good luck.
by Filoche
Tue Jun 10, 2008 12:52 pm
Forum: JFreeChart
Topic: Domain axis problem (many series)
Replies: 6
Views: 8165

Hi there and tx for your reply. Thats exacly what I'm tyrying to do. Here's a bit of code I use to create my dataset : public void CreateLineSerie(String serie, String xValues[], double yValues[],double stdev[]) { final ExtendedDefaultStatisticalCategoryDataset result = new ExtendedDefaultStatistica...
by Filoche
Mon Jun 09, 2008 4:37 pm
Forum: JFreeChart
Topic: Domain axis problem (many series)
Replies: 6
Views: 8165

Domain axis problem (many series)

Hi all. I'll try to to explain my problem the best I can :) I'm using a categorie dataset to fetch data I want on my chart. When using only 1 dataset, the new series added display fine on my chart. Notice the gap on the blue serie at the S02 which is correct. http://img440.imageshack.us/img440/4173/...
by Filoche
Thu Jan 24, 2008 9:07 pm
Forum: JFreeChart
Topic: Using superscript char in LineChart label
Replies: 3
Views: 5261

There probably isn't a way to do it without modifying JFreeChart (and using AttributedString, maybe). Which label do you want to change - axis label, tick label, some other label? Hi and sorry for my late response. I was out of town for couple days. In fact I would like to change series label caus ...
by Filoche
Mon Jan 14, 2008 10:08 pm
Forum: JFreeChart
Topic: Using superscript char in LineChart label
Replies: 3
Views: 5261

Anyone got a suggestion?

Best regards,
Phil
by Filoche
Wed Jan 09, 2008 5:51 pm
Forum: JFreeChart
Topic: Legend Position
Replies: 6
Views: 9694

Re: XYTitleAnnotation coordinate arguments

Can you please elaborate on the (x,y) coordinate arguments in the XYTitleAnnotation constructor? It seems they are in the range [0, 1]. On a standard date domain axis, the x coordinate behaves like a percentage (x=.05 puts the legend 5% away from the left of the chart). But the interaction with Log...
by Filoche
Wed Jan 09, 2008 5:28 pm
Forum: JFreeChart
Topic: Using superscript char in LineChart label
Replies: 3
Views: 5261

Using superscript char in LineChart label

Hi all.

I'm trying to place a char as superscript in a label (LineChart). Is is possible?

Tx for any suggestions.
by Filoche
Fri Nov 30, 2007 11:55 pm
Forum: JFreeChart
Topic: Displaying external information on chart
Replies: 6
Views: 8673

Everything working fine.

I appreciated your help.

Best regards, and have a ncie week-end.
by Filoche
Fri Nov 30, 2007 11:46 pm
Forum: JFreeChart
Topic: Displaying external information on chart
Replies: 6
Views: 8673

Ty sir.

Looks like it was what I was looking for.

One more question. Is it possible to get the min and max values for a d ataset? If so I could transpose these value between 0, and 1.

Tx
by Filoche
Fri Nov 30, 2007 11:35 pm
Forum: JFreeChart
Topic: Displaying external information on chart
Replies: 6
Views: 8673

Thank you for the fast respons.

It is almost working prefectly. But from what I understand, the xy coords are based on data in the chart ?

Is there a way to set x and y as relative coords (like 0,0 the upper corner left) ?

Phil
by Filoche
Fri Nov 30, 2007 8:54 pm
Forum: JFreeChart
Topic: Displaying external information on chart
Replies: 6
Views: 8673

Displaying external information on chart

Hi all.

I'm using a LineChart and I want to display external information on it (like the R^2) of a regression.

My quesiton is : is it possible to write (display) texte at x,y position in my chart?

Best regards, and have a neci day.

Phil
by Filoche
Thu Aug 23, 2007 7:38 pm
Forum: JFreeChart
Topic: Remove series in DefaultStatisticalCategoryDataset
Replies: 7
Views: 10593

Hi sire.

That's exaclty what I did this morning. Works like a charm now.

Thank again for your support and have a ncie day.

Phil