rubber band zooming not working correctly in new release...

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
havfrue
Posts: 29
Joined: Mon Nov 03, 2003 4:49 pm

rubber band zooming not working correctly in new release...

Post by havfrue » Thu Jun 03, 2004 7:54 am

Hi,
The rubber band zooming is not working correctly in the new JFreechart release... The new x range is not the same as the one I selected using rubberband. Do you know why??

Elisabeth.

havfrue
Posts: 29
Joined: Mon Nov 03, 2003 4:49 pm

Post by havfrue » Thu Jun 03, 2004 8:29 am

I saw that BigWillyStyle42 has the same problem in his post "Zooming in on a region with mouse produces unexpected result"

We use rubber band zooming all the time in our application and therefore I need it to work as soon as possible..
(Since I have spent some time adjusting my code to the newest JFreechart release I really don't want to have go back to using an old release)

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Thu Jun 03, 2004 9:55 am

It is fixed in CVS now.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

havfrue
Posts: 29
Joined: Mon Nov 03, 2003 4:49 pm

Post by havfrue » Thu Jun 03, 2004 10:24 am

Hi,
I appreciate your quick respose :-)
Would it be possible for you to put a (class) jar file like jfreechart.jar in cvs so that I don't have to get the whole source code from cvs, buld it and create the jar file myself.

Like "nightly builds" int other products homepages?

I am sorry if it already exists, but I haven't found it.. still looking...

Elisabeth

havfrue
Posts: 29
Joined: Mon Nov 03, 2003 4:49 pm

previous post - VerifyError when using cvs code

Post by havfrue » Thu Jun 03, 2004 12:06 pm

I have now compiled the cvs code and tried to run the JFreeChartDemo.
I get this exception
java.lang.VerifyError: (class: org/jfree/chart/JFreeChartInfo, method: <init> signature: ()V) Incompatible argument to function
at org.jfree.chart.JFreeChart.<clinit>(JFreeChart.java:187)
at org.jfree.chart.demo.JFreeChartDemo.<init>(JFreeChartDemo.java:149)
at org.jfree.chart.demo.JFreeChartDemo.main(JFreeChartDemo.java:286)
Exception in thread "main"


I also got the same error when I tried to run my own code

JFreeChart chart = new JFreeChart("", JFreeChart.DEFAULT_TITLE_FONT, plot_, false);

error:
Caused by: java.lang.VerifyError: (class: org/jfree/chart/JFreeChartInfo, method: <init> signature: ()V) Incompatible argument to function
at org.jfree.chart.JFreeChart.<clinit>(JFreeChart.java:187)


Do you now why??

Locked