Search found 5 matches

by hfontanez
Fri Oct 10, 2014 9:28 pm
Forum: JFreeChart
Topic: JFreeChart difficulties
Replies: 4
Views: 5112

Re: JFreeChart difficulties

Your problem is because the first argument being passed to the setValue method is ambiguous. You have to pass something that it would know how to compare. For example, to compare a String is different that to compare a Number. You can easily fix this by doing something like this: private PieDataset ...
by hfontanez
Fri Oct 10, 2014 1:48 pm
Forum: JFreeChart
Topic: Grid alignment problem when using multiple axes
Replies: 1
Views: 3180

Re: Grid alignment problem when using multiple axes

I forgot to include these empty classes: import mycharts.GraphicsDemo.Phase; import org.jfree.data.time.TimeSeries; public class ForecastAnalogTimeSeries extends TimeSeries { public ForecastAnalogTimeSeries(Phase phase) { super(phase); } } and: import org.jfree.data.time.TimeSeries; public class His...
by hfontanez
Thu Oct 09, 2014 8:36 pm
Forum: JFreeChart
Topic: Grid alignment problem when using multiple axes
Replies: 1
Views: 3180

Grid alignment problem when using multiple axes

Version: 1.0.17 (confirmed on 1.0.19) Java version: 1.6.0_30 Description: This issue seems to be a bug, but we are not exactly sure. We are trying to display multiple series in a graph that has multiple Y-axes. The problem we are running into is that it appears that the grid lines up only with the p...
by hfontanez
Wed Oct 08, 2014 8:27 pm
Forum: JFreeChart
Topic: JFreeChart 1.0.19
Replies: 14
Views: 43801

Re: JFreeChart 1.0.19

The one I noticed the most was the use of renderer objects. Everywhere you see: XYLineAndShapeRenderer renderer = (XYLineAndShapeRenderer) plot.getRenderer(); renderer.setShapesVisible(true); // deprecated method renderer.setShapesFilled(true); // deprecated method should be: XYLineAndShapeRenderer ...
by hfontanez
Mon Oct 06, 2014 5:24 pm
Forum: JFreeChart
Topic: JFreeChart 1.0.19
Replies: 14
Views: 43801

Re: JFreeChart 1.0.19

I am not sure if this is the appropriate way to communicate a Developer's Guide "issue", but I didn't know if reporting a bug in Sourceforge was the best thing. I am new to your product and I noticed that your Developer's Guide seems to contain outdated information. Our company purchased the Develop...