Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Invert Axis
posted

Hi!,

I have some problems using inverted axis (not sure if its a bug or maybe i'm doing something wrong?)

Does anyone have this problem too?

When i try to invert the Category axis my app simply crushes...

e.g.

CategoryXAxis categoryAxis = new CategoryXAxis();

categoryAxis.setInverted(true);

While debuging I get a "NegativeArraySizeException" error on "Choreographer.doCallBacks..."

not sure what that means...

And when i try to invert the NumericYAxis (on a different chart):

NumericYAxis valueAxis = new NumericYAxis();
valueAxis.setInverted(true);

it works, but the value axis just disappears... (not only the axis, labels and horizontal lines too).

while debuging i found that my "NumericAxis.LabelFormatter" recieves a "NaN" instead of the axis value.

Any ideas?

Regards,

Felipe