Skip to content

Conversation

@RabieMohimane
Copy link

in the idx expression (int idx = (int) ((value / range) * (mHorizontalLabels.length - 1));)
at least one time in execution i got i got the same value , so it add the same label to the xAxis ,
i resolved this issue by storing the previous idx and comparing it with the new one , if they are equals i aa 1 the the idx (idx=idx+1) . by that i prevent the duplicate labels bug in the x axis

…ls (formatLabel() is the function modified in StaticLabelsFormatter.java)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant