Search found 13 matches

by nubiste
Wed Nov 05, 2008 4:34 pm
Forum: JFreeChart
Topic: Multiple series - shared RangeAxis
Replies: 5
Views: 5417

SOLVED

False alert, it was my error as suspected...
I had a wrong mapping (mapDatasetToRangeAxis) hence it was giving the NPE.

apologies
stelios
by nubiste
Wed Nov 05, 2008 4:09 pm
Forum: JFreeChart
Topic: Multiple series - shared RangeAxis
Replies: 5
Views: 5417

Stacktrace

here is the stacktrace: I'll try to make a dame asap. Exception in thread "AWT-EventQueue-13" java.lang.NullPointerException at org.jfree.chart.renderer.xy.XYLineAndShapeRenderer.drawPrimaryLine(XYLineAndShapeRenderer.java:879) at org.jfree.chart.renderer.xy.XYLineAndShapeRenderer.drawItem(XYLineAnd...
by nubiste
Wed Nov 05, 2008 3:40 pm
Forum: JFreeChart
Topic: Multiple series - shared RangeAxis
Replies: 5
Views: 5417

ok I now have the demo (the one that runs locally) and the "real" app (the one which the plot gets serialized/deserialized) to be exactly the same, same number and types of combinedPlot, subplot, datasets, range etc. The only difference being the size of the series and the modCount of the subplot Ar...
by nubiste
Wed Nov 05, 2008 1:49 pm
Forum: JFreeChart
Topic: Multiple series - shared RangeAxis
Replies: 5
Views: 5417

Multiple series - shared RangeAxis

Hi, I get a nullPointerException on trying to draw a CombinedDomainXYPlot with a subplot of type: XYPlot, 2 datasets type: TimeSeriesCollection 1 Range Axis type: NumberAxis I've succesfuly drawn multiple series with shared RangeAxis with the same setup as above, the only differences being: XYSeries...
by nubiste
Fri Aug 29, 2008 4:45 pm
Forum: JFreeChart
Topic: XYTextAnnotation Multiline Support
Replies: 0
Views: 2038

XYTextAnnotation Multiline Support

Hi, Has anyone any ideas of how to add multiline support to the XYTextAnnotation class? I really need it and looking for some way to do it. Unfortunately I haven't come up with anything yet. There are some posts in the forum referring to this issue but no solutions... Any suggestions appreciated tha...
by nubiste
Fri Aug 29, 2008 1:45 pm
Forum: JFreeChart
Topic: Clear annoations added on Renderer
Replies: 4
Views: 4510

sorry for the many posts..
Is there any advantage on adding the annotation on the renderer instead of the plot. Both seem to work fine, is the only difference the event they fire?
by nubiste
Fri Aug 29, 2008 1:42 pm
Forum: JFreeChart
Topic: Clear annoations added on Renderer
Replies: 4
Views: 4510

Can't believe I didn't see that, its clear enough in any case... btw I noticed in the XYTextAnnotation if you put a carriage return it does have effect but you can't see the line that goes under. Is there any standard way to overcome this, do I need to override the XYTextAnnotation class? thanks ste...
by nubiste
Fri Aug 29, 2008 11:48 am
Forum: JFreeChart
Topic: Clear annoations added on Renderer
Replies: 4
Views: 4510

Clear annoations added on Renderer

Hi, I have a problem deleting annotations that I've added on a LineAndShape or Step renderer. plot.clearAnnotations() works fine for annotations added with the plot.addAnnotation(annotation) method. When added with renderer.addAnnotation(annotation) method calling clearAnnotations on the plot does n...
by nubiste
Tue Aug 26, 2008 9:58 am
Forum: JFreeChart
Topic: A problem in setting Range
Replies: 5
Views: 7433

Any suggestions how to implement this? I read in the other post
Have a look at autoRangeBoth() in ChartPanel
Couldn't find that anywhere.
Any ideas of the logic to do this?

thanks
by nubiste
Tue Aug 19, 2008 1:05 pm
Forum: JFreeChart
Topic: ClassNotFoundException:org/jfree/data/general/SeriesChangeLi
Replies: 1
Views: 2276

SOLVED

Just in case anyone stumbles on this post and wonder about the solution.

The problem was with swing and threads, nothing to do with freechart.
Although the Exception was totally misguiding.
by nubiste
Mon Aug 18, 2008 9:44 am
Forum: JFreeChart
Topic: java.lang.ClassNotFoundException:org/jfree/data/general/Seri
Replies: 3
Views: 5316

How did you manage to resolve this?
by nubiste
Fri Aug 15, 2008 12:24 pm
Forum: JFreeChart
Topic: ClassNotFoundException:org/jfree/data/general/SeriesChangeLi
Replies: 1
Views: 2276

ClassNotFoundException:org/jfree/data/general/SeriesChangeLi

Hi, jfreechart version: 1.0.0 (tried with 1.0.1 as well) jcommon version: 1.0.0 When I load the applet for the first time it displays fine no error. When I call a function of the applet (through javascript) to plot new values I receive the error. If I just refresh the page it can paint new values no...
by nubiste
Mon Aug 04, 2008 10:16 am
Forum: JFreeChart
Topic: Plotting discrete values
Replies: 1
Views: 2463

Plotting discrete values

Hi, Just started using JFreeChart so this might be a trivial question(I hope:). I have values of the type 0,1,0,1,0,2 etc. So I want each point in the graph to be represented by a constant value until it reaches the next data point. So it should look something like this: 3 | 2 | ____ 1 |____| |____|...