hellocharts-android icon indicating copy to clipboard operation
hellocharts-android copied to clipboard

Y -axis not displaying 4 digits value

Open ArisChoice opened this issue 6 years ago • 4 comments

Hello guys, I liked your work it is a good library. Just increase the y.axis limit.Currently it show maximus 3 digits value.My y axis range is form 0-30000 . and it is only showing 000 starting digits are not visible when range . goes above 1000. Please let me know any solution for this.

ArisChoice avatar Mar 11 '19 10:03 ArisChoice

Hello, I have this problem too, have you found a solution?

baillyjamy avatar May 16 '19 10:05 baillyjamy

@baillyjamy ,

 Axis yAxis = new Axis();
//      yAxis.setName("Earning in pounds");
        yAxis.setTextColor(Color.parseColor("#03A9F4"));
        yAxis.setTextSize(10);
//      yAxis.setHasLines(true);
        data.setAxisYLeft(yAxis);

try something like this,

ArisChoice avatar May 24 '19 12:05 ArisChoice

With a title, I can see the complete numbers, but the title overwrites part of the Y-axis values. As you can see on the screenshot.

Screenshot 2019-05-24 at 15 10 52

baillyjamy avatar May 24 '19 13:05 baillyjamy

It is useful,but have other ways to slove it?

ShengXingyu avatar Jul 31 '20 03:07 ShengXingyu