Search found 11213 matches

by david.gilbert
Mon Mar 24, 2003 8:39 pm
Forum: JFreeChart
Topic: Time series with different time and units.
Replies: 1
Views: 3100

Re: Time series with different time and units.

In both cases, there is no flag in JFreeChart - you need to modify the data before JFreeChart sees it. You could write a class that implements the XYDataset interface, wrapping your base dataset but translating each of the values from the base dataset before passing them on to the chart. Regards, Da...
by david.gilbert
Mon Mar 24, 2003 8:33 pm
Forum: JFreeChart
Topic: Trying to create a Vertical version of DynamicDataDemo...
Replies: 3
Views: 5222

Hi Chris, You are correct that it isn't easy. I want this feature to be supported before 1.0.0 is released. There are two approaches I can think of: (1) Implement a new YXPlot class (so now you have XYPlot and YXPlot, the parallel of VerticalCategoryPlot and HorizontalCategoryPlot), plus add a Verti...
by david.gilbert
Mon Mar 24, 2003 8:26 pm
Forum: JFreeChart
Topic: DateRange Question...!!!
Replies: 1
Views: 3630

Re: DateRange Question...!!!

The getLowerDate() method just returns a java.util.Date object - no problem in that. But if you then use the getDate() method for that Date object (to return the day-of-the-month), then you have a problem because that method has been deprecated. But the Javadocs give you an alternative: As of JDK ve...
by david.gilbert
Fri Mar 21, 2003 1:54 pm
Forum: JFreeChart
Topic: custom drawing in plot area
Replies: 3
Views: 4209

Hi Mathias,

I would recommend extending the classes in com.jrefinery.chart.annotations to do this. At the moment, there is just support for text annotations on an XYPlot. But it would be easy to add other types of annotations...

Regards,

Dave Gilbert
by david.gilbert
Fri Mar 21, 2003 1:45 pm
Forum: JFreeChart
Topic: Pie Chart Crashes Java VM
Replies: 16
Views: 45156

OK, CVS is done now.

Regards,

Dave Gilbert
by david.gilbert
Fri Mar 21, 2003 1:22 pm
Forum: JFreeChart
Topic: com.jrefinery.chart.XYPLOT ...
Replies: 1
Views: 3476

The addVerticalLine(...) and addHorizontalLine(...) methods have been replaced by addDomainMarker(...) and addRangeMarker(...). The old methods haven't been removed yet, just marked as 'deprecated', so your compiler will give you a warning (just to say that you have used methods that might not be th...
by david.gilbert
Fri Mar 21, 2003 1:07 pm
Forum: JFreeChart
Topic: Pie Chart Crashes Java VM
Replies: 16
Views: 45156

Hi Fran,

I have a fix that works for me, I'll check the code into CVS shortly. If you can test it out for your configuration, that would be excellent.

Regards,

Dave Gilbert
by david.gilbert
Fri Mar 21, 2003 1:05 pm
Forum: JFreeChart
Topic: JFreeChart new version release date ??
Replies: 1
Views: 2647

Hi Sai, I don't have a schedule for new releases, but I'd expect 0.9.7 to be out some time in April. But you don't have to wait till then if you don't want to, all the latest code (including the new methods for creating the Pareto chart datasets) is publically available from the CVS repository on So...
by david.gilbert
Fri Mar 21, 2003 1:01 pm
Forum: JFreeChart
Topic: Pie chart labels truncated
Replies: 1
Views: 2710

Hi Oliver,

There's nothing there at the moment. The label handling in the pie charts does need some work...

Regards,

Dave Gilbert
by david.gilbert
Fri Mar 21, 2003 12:59 pm
Forum: JFreeChart
Topic: print applet from IE (all black??)
Replies: 4
Views: 4219

I've heard various reports of problems printing in Internet Explorer. As far as I can tell, it is an issue with IE rather than JFreeChart...but I haven't been able to investigate it myself directly, because I don't use Windows.

Regards,

Dave Gilbert
by david.gilbert
Fri Mar 21, 2003 12:52 pm
Forum: JFreeChart
Topic: Tooltip Behavior
Replies: 12
Views: 16970

Hi Fran, The "hotspot" for the tooltip is the region used for the ChartEntity created by the renderer (whichever renderer you are using) in the drawItem(...) method. At the moment, the LineAndShapeRenderer is just using the Shape that it drew as the hotspot, and ignoring the lines. But it would be a...
by david.gilbert
Fri Mar 21, 2003 12:47 pm
Forum: JFreeChart
Topic: Conflict with Java Preferences class
Replies: 1
Views: 3963

Hi Fran,

Thanks for the info. This is bound to come up again some time!

Regards,

Dave Gilbert
by david.gilbert
Fri Mar 21, 2003 12:39 pm
Forum: JFreeChart
Topic: Problems with TimeSeries class
Replies: 4
Views: 4603

Hi Tim, The time series class won't let you add two values for the same time period...the first exception is just saying that you are attempting to add a data item for a time period that already exists in the series. The second exception looks more like a bug...I'll investigate when I get a chance. ...
by david.gilbert
Fri Mar 21, 2003 12:30 pm
Forum: JFreeChart
Topic: Coloring categories
Replies: 3
Views: 3760

You should be able to subclass the renderer you are using, and override the getItemPaint(...) method (defined in the AbstractRenderer class). The default behaviour is to pass control over to the getSeriesPaint(...) method, so all categories within a series end up the same color. But if you want some...
by david.gilbert
Fri Mar 21, 2003 12:02 pm
Forum: JFreeChart
Topic: Traditional chinese word render in ValueAxis not correct
Replies: 3
Views: 3505

Yes, you can do something like this:

Code: Select all

CategoryPlot plot = myChart.getCategoryPlot();
VerticalNumberAxis axis = (VerticalNumberAxis) plot.getRangeAxis();
axis.setVerticalLabel(false);
Regards,

Dave Gilbert