Search found 13 matches

by Fabrice
Mon Sep 20, 2004 3:19 pm
Forum: JFreeChart
Topic: Area vs StackedArea strange different behaviour
Replies: 5
Views: 2258

Great !!! Adding this code after the chart instanciation will give the same behaviour between AreaRenderer and StackedAreaRenderer. CategoryPlot plot = chart.getCategoryPlot(); AreaRenderer renderer = (AreaRenderer)plot.getRenderer(); renderer.setEndType(AreaRendererEndType.TRUNCATE); (the imports m...
by Fabrice
Wed Aug 18, 2004 1:37 pm
Forum: JFreeChart
Topic: StackedXYAreaRenderer + TimeSeriesCollection => Exception
Replies: 9
Views: 6764

Yes, it works fine !
I don't get exceptions any more with the TimeTableXYDataset class.

Thank you for your help.
by Fabrice
Tue Aug 10, 2004 5:32 pm
Forum: JFreeChart
Topic: StackedXYAreaRenderer + TimeSeriesCollection => Exception
Replies: 9
Views: 6764

Thank you for your answer. I can't find a way to make a stacked chart with weeks on the X axis (the DefaultTableXYDataset doesn't seem to make it possible). Can you help me for this ? If it's impossible for now, do you plan to create (in a near future) a class that implements the TableXYDataset inte...
by Fabrice
Thu Aug 05, 2004 6:03 pm
Forum: JFreeChart
Topic: StackedXYAreaRenderer + TimeSeriesCollection => Exception
Replies: 9
Views: 6764

StackedXYAreaRenderer + TimeSeriesCollection => Exception

I'm trying to use a StackedXYAreaRenderer with a TimeSeriesCollection but an exception is raised : java.lang.ClassCastException at org.jfree.chart.renderer.StackedXYAreaRenderer.drawItem(StackedXYAreaRenderer.java:307) at org.jfree.chart.plot.XYPlot.render(XYPlot.java:2204) at org.jfree.chart.plot.X...
by Fabrice
Wed May 12, 2004 10:34 am
Forum: JFreeChart
Topic: Il y a des français dans le coin ?
Replies: 42
Views: 21822

Tu peux trouver toutes ces infos dans la démo LineChartDemo1 Pour forcer des valeurs entières sur l'axe des abscisses : JFreeChart chart = ChartFactory.createLineChart(...); CategoryPlot plot = chart.getCategoryPlot(); ... NumberAxis rangeAxis = (NumberAxis)plot.getRangeAxis(); rangeAxis.setStandard...
by Fabrice
Fri Apr 30, 2004 1:59 pm
Forum: JFreeChart
Topic: How can I use a Marker on a Domain axis with CategoryDataset
Replies: 6
Views: 1705

Areas

In fact, AreaRenderer and XYAreaRenderer draw the end points the same way.

The difference is between the Area and StackedArea versions.

I think the good way for drawing end points is in the StackedAreaRenderer, not in the AreaRenderer and XYAreaRenderer.

Fabrice
by Fabrice
Tue Apr 27, 2004 4:44 pm
Forum: JFreeChart
Topic: How can I use a Marker on a Domain axis with CategoryDataset
Replies: 6
Views: 1705

Well...
I haven't done the test now, but will the AreaRenderer draw areas correctly on a XYPlot with a DateAxis ?
by Fabrice
Tue Apr 27, 2004 4:20 pm
Forum: JFreeChart
Topic: How can I use a Marker on a Domain axis with CategoryDataset
Replies: 6
Views: 1705

On the Domain axis, I have to put week numbers (from 1 to 53) The plot represents a product's life. I need : - an array to show the period where the product have to be managed closely (It's ok for this point, even if the design is strange at the begining and the ending of the array - see a preceding...
by Fabrice
Tue Apr 27, 2004 3:17 pm
Forum: JFreeChart
Topic: How can I use a Marker on a Domain axis with CategoryDataset
Replies: 6
Views: 1705

How can I use a Marker on a Domain axis with CategoryDataset

I'm trying to add a Marker on the Domain axis of a chart created with the createLineChart method (I'm using a CategoryDataset). I can't assign a marker to the domain axis of the CategoryPlot. It seems to be possible only on a XY plot. Do you know a workaround or an other way to do it ? Is it a featu...
by Fabrice
Mon Apr 26, 2004 3:20 pm
Forum: JFreeChart
Topic: Il y a des français dans le coin ?
Replies: 42
Views: 21822

Bien sûr qu'il y a des français... (Oops)

Zut, j'avais pas fait gaffe, j'étais délogué quand j'ai posté ça...

Fabrice
by Fabrice
Mon Apr 26, 2004 2:32 pm
Forum: JFreeChart
Topic: Area vs StackedArea strange different behaviour
Replies: 5
Views: 2258

Am I the only one having trouble with this ? I'm using JFreeChart 0.9.18 The real big problem I have is when I want more than one array, and when one array comes over another. I can't use a StackedArea here. Here's the result I get with another test... http://www.ifrance.com/hebus59/Area2.jpg It's n...
by Fabrice
Fri Apr 23, 2004 10:26 am
Forum: JFreeChart
Topic: Area vs StackedArea strange different behaviour
Replies: 5
Views: 2258

Here are the results I obtained with this source code For the StackedArea : http://www.ifrance.com/hebus59/StackedArea.jpg For the Area : http://www.ifrance.com/hebus59/Area.jpg I think it's a better way to show you the problem (It was hard to find a free hosting service with FTP access that I can r...
by Fabrice
Fri Apr 23, 2004 8:42 am
Forum: JFreeChart
Topic: Area vs StackedArea strange different behaviour
Replies: 5
Views: 2258

Area vs StackedArea strange different behaviour

Hello, Here is a sample code for the StackedArea and Area charts. I've found a different behaviour for these two charts. import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jfree.chart.plot.PlotOrientation; import org.jfree.data.Categ...