Open levianye opened 8 years ago
same here.. +1
same here . did you get any work around ?
same here. it also happens when u setScaleMinima. Any updates on this?
/**
- Set a minimum interval for the axis when zooming in. The axis is not allowed to go below
- that limit. This can be used to avoid label duplicating when zooming in.
- @param granularity */ public void setGranularity(float granularity) { mGranularity = granularity; // set this to true if it was disabled, as it makes no sense to call this method with granularity disabled mGranularityEnabled = true; }
Please check this section.
"This can be used to avoid label duplicating when zooming in."
You can use it.
xaxis.setGranularity(1f);
Any solution for 2.2.x?
Same issue here.. any solution?
I meet such an issue that I want to display label in X axis under each bar,when I zoom in the barchart ,those label display duplicate!how can I fixed it? how do I rewrite AxisValueFormatter to make it work? here is the comparison result besides I want display labels in the middle of the chart, now it just display in the left edge of each bar