Search found 5 matches

by Garfke
Wed Sep 30, 2009 2:57 pm
Forum: JFreeChart
Topic: Customising error bars
Replies: 8
Views: 8096

Re: Customising error bars

Maybe you compile with 1.0.13 then run with another version. You wouldn't be the first. you're probably right... :oops: I never downloaded another version because i never used JFreeChart before... but... for my new project I use some classes from another project in eclipse. I checked that other pro...
by Garfke
Tue Sep 29, 2009 9:55 pm
Forum: JFreeChart
Topic: Customising error bars
Replies: 8
Views: 8096

Re: Re:

Calling errorRenderer.setErrorStroke(new BasicStroke(1f)); gives me the strange exception : java.lang.NoSuchMethodError: org.jfree.chart.renderer.xy.XYErrorRenderer.setErrorStroke(Ljava/awt/Stroke;)V Is this the way to change the width of the errorbar? That would be a strange exception if you are u...
by Garfke
Tue Sep 29, 2009 9:55 pm
Forum: JFreeChart
Topic: Customising error bars
Replies: 8
Views: 8096

Re: Re:

Calling errorRenderer.setErrorStroke(new BasicStroke(1f)); gives me the strange exception : java.lang.NoSuchMethodError: org.jfree.chart.renderer.xy.XYErrorRenderer.setErrorStroke(Ljava/awt/Stroke;)V Is this the way to change the width of the errorbar? That would be a strange exception if you are u...
by Garfke
Tue Sep 29, 2009 11:14 am
Forum: JFreeChart
Topic: Customising error bars
Replies: 8
Views: 8096

Re:

Thanks Petr for your explantions. My figure looks great now !! :-) To summarise my email exchange with Petr, here is how I did proceed to customise my graph and error bars. XYErrorRenderer renderer = new XYErrorRenderer(); renderer.setCapLength(0.02); //that reduces the size of the top and side seg...
by Garfke
Tue Sep 29, 2009 10:29 am
Forum: JFreeChart
Topic: XYTextAnnotation with highlighted Box
Replies: 5
Views: 8244

Re: XYTextAnnotation with highlighted Box

XYTextAnnotation has been updated in Subversion a little while ago to support this (to be included in the 1.0.13 release): http://jfreechart.svn.sourceforge.net/viewvc/jfreechart/branches/jfreechart-1.0.x-branch/source/org/jfree/chart/annotations/XYTextAnnotation.java?annotate=1887 I get a very str...