New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetFormattedValue method returning wrong count #2693
Comments
i don not know the reason,but i think a good method,this is you must make a protect for the data.
|
@wangyuxu @PhilJay p.s. - I'm sorry for posting it in a wrong thread, but this was related to the same method and looks pretty recent. |
I've got the same question as @arkojj - how does the value parameter derives its value? mEntries isn't the source, is it? |
Same question here. |
anybody tell us the question that where the value in getFormattedValue(float value, AxisBase axis) from ? |
It comes from drawLabels method of XAxisRenderer class. |
The problem is a misunderstanding of what the graph is doing in this particular scenario.
After a proper function has been fore-(seen/saw), it is up to the getFormattedValue() function to deliver any float it may deem proper, depending on some other values set by the user. |
Hello guys
Does anyone know tell me why my overridden method "getFormattedValue" is called 10 times while my list of data goes from 0 to 8 only?
I can not identify this problem.
I am adding the methods with the value of 8
LineChart.setVisibleXRangeMinimum (8);
LineChart.setVisibleXRangeMaximum (8);
LineChart.getXAxis (). SetLabelCount (8, false);
This happens whenever I reload the chart with new values. Could I be forgetting to destroy the graph before?
The text was updated successfully, but these errors were encountered: