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...
CategoryXAxis categoryAxis = new CategoryXAxis();
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.
I am going to require more information regarding your application.
1. What seems to trigger this issue? 2. Can this issue be reproduced? How? Please provide steps. 3. Is this a runtime or design time issue? 4. What does your application consist of? Provide screenshots
In order to properly assist you I require an isolated sample that demonstrates the issue.
Let me know if you have any additional questions regarding this matter.
Hi Michael!, Thanks for replying.
In order to make my app work i ended up "manually" inverting the data (and labels), so for now i dont need this feature anymore.
if its useful for you i can still give you the feedback:
3 - its a runtime issue.
1 - the issue is triggered when using the method "setInverted(true)" over one of the axis.
- if you use "setInverted" on the "CategoryXAxis", the app crashes.
- if you use "setInverted" on the "NumericYAxis", the chart is shown, but the axis just disapear (line and labels)
2 - To reproduce the issue just modify any of the sample apps that comes with the IguanaUI Famework download bundle.. (i can attach the modified sample if you want)
Open the "LineSeriesActivity.java", go to the method:
"private void createChart()"
and add the "setIncerted(true)" below any of the axis construction like:
CategoryXAxis categoryAxis=new CategoryXAxis(); //TODO: Makes the app crash!// categoryAxis.setInverted(true);
NumericYAxis valueAxis=new NumericYAxis(); //TODO: Makes axis lines and labels disappear valueAxis.setInverted(true);
Thank you for your feedback. We appreciate your reply and if you have any additional questions do not hesitate to ask. Thanks again!