MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

MPChart increasing its bar sizes after using scroll feature

Open sanjhi opened this issue 6 years ago • 1 comments

Hi, My requirement is too use multiple tabs on a single screen. Every tabs calls MPchart with different values. Some of the tabs has fixed data size ie. 4 data entries and some required scrolling with barChart.setVisibleXRangeMaximum(10); Now the issue is, when I click tab with scrolling data, and get back to the tab with 4 bar data, it got resized. it starts showing only 3 bars on screen. also the size of bar gets increased.

I am posting the screenshots of the issue, First image is how it displays first time. and second screenshot shows how it looks like when we come back from a tab in which bars are using scrolling functionality.

What to do, please help. Screenshot_20190416-231422 Screenshot_20190416-231509

sanjhi avatar Apr 15 '19 17:04 sanjhi

did you resolve it ?? if resolved please help me in this i am facing this issue too

WaqasYousafy786 avatar Jul 10 '23 06:07 WaqasYousafy786