youleiy / achartengine

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

void setXAxisMax(double max, int scale) function crashes the engine #407

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I set the max values for the x axis (for example) with the one parameter 
function "public double getXAxisMax(int scale)" like this: 

mRenderer.setXAxisMax(5);

and the engine runs fine.

When I use the two parameters function "public void setXAxisMax(double max, int 
scale)", and the second paramter is 0 (zero):

mRenderer.setXAxisMax(5,0);

the engine runs also.

But if the parameter is not 0 (zero)

mRenderer.setXAxisMax(5,2); (1, 2, or any value)

the engine brakes and the programs throws a runtime exception.

Original issue reported on code.google.com by el.pada...@gmail.com on 25 Apr 2014 at 9:17

GoogleCodeExporter commented 9 years ago
Read the exception message.

Original comment by dandrome...@gmail.com on 20 May 2014 at 10:41