wangyao5 / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

Scrolling of horizontal bar chart in opposite direction #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am using  a Horizontal Bar chart. To get a Horizontal Bar chart, I
set  renderer's orientation as Vertical. I am using getBarChartView
method.

I have 2 issues:-

1.  Scrolling of chart in opposite direction. If we scroll the
chart,i.e., move finger from up to down, the chart scrolls left to
right. Similarly, for finger movement from left to right, the chart
scrolls up to down.

2. The Y-axis labels are stretched out.

Please suggest is there something that I am missing and so facing
these issues, or these issues exist with horizontal bar chart. I have
tried using the SalesBarchart demo also and face the same issues.

Thanks,
Monica.

Original issue reported on code.google.com by MRast...@fcs-inc.com on 18 Jul 2011 at 7:28

GoogleCodeExporter commented 9 years ago
yes i got the same issue for setOrientation(Orientation.VERTICAL) in barchart 
view.
the mouse scrolling in chart at opposite direction 
package. achartengine-0.7.0.jar

thanks.
tom

Original comment by tanmoyj...@grmtech.com on 26 Sep 2011 at 11:42

GoogleCodeExporter commented 9 years ago
Yes, I have the same problem. Is there a solution?

Original comment by ejcdevel...@gmail.com on 25 Oct 2011 at 11:41

GoogleCodeExporter commented 9 years ago
For the text stretching problem you can rescale the width...

paint.setTextScaleX(0.7f);

Original comment by darren.s...@gmail.com on 23 Nov 2011 at 3:06

GoogleCodeExporter commented 9 years ago
I have this problem to. Can anyone help me? 

Original comment by pashashm...@gmail.com on 26 Dec 2011 at 5:06

GoogleCodeExporter commented 9 years ago
Fixed in SVN rev. r329.

Original comment by dandrome...@gmail.com on 5 Jan 2012 at 4:58

GoogleCodeExporter commented 9 years ago
How can I add this changes to the achartengine-07.0  library using Eclipse

Original comment by ejcdevel...@gmail.com on 5 Jan 2012 at 5:41

GoogleCodeExporter commented 9 years ago
Checkout the source code and find a build.xml there. Do ant dist and you will 
get a new achartengine.jar file built.

Original comment by dandrome...@gmail.com on 5 Jan 2012 at 6:34

GoogleCodeExporter commented 9 years ago
Sorry, but how do I do ant dist?

I found the file: 
http://code.google.com/p/achartengine/source/browse/trunk/achartengine/build.xml

Original comment by ejcdevel...@gmail.com on 5 Jan 2012 at 8:20

GoogleCodeExporter commented 9 years ago
Checkout the project first from SVN.
http://code.google.com/p/achartengine/source/checkout

Original comment by dandrome...@gmail.com on 5 Jan 2012 at 8:28

GoogleCodeExporter commented 9 years ago
I feel really bad asking, but where am I supposed to write that command?

Original comment by ejcdevel...@gmail.com on 5 Jan 2012 at 9:18

GoogleCodeExporter commented 9 years ago
If you are using an IDE like Eclipse, install a plugin for SVN and checkout the 
source code using that.

Original comment by dandrome...@gmail.com on 6 Jan 2012 at 1:25

GoogleCodeExporter commented 9 years ago
First, Thanks for your patience. I have installed svn plugin and checkout the 
project. I can see it now in the explorer window together with my projects in 
Eclipse. How do I generate a new achartengine-0.7.0.jar file?

Original comment by ejcdevel...@gmail.com on 7 Jan 2012 at 3:59

GoogleCodeExporter commented 9 years ago
I receive this message:

com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre6"

Original comment by ejcdevel...@gmail.com on 7 Jan 2012 at 4:04

GoogleCodeExporter commented 9 years ago
Done! I did it.
Now the bar graph works great!
Thanks a lot!

Original comment by ejcdevel...@gmail.com on 7 Jan 2012 at 3:19