Skip to content
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

Y轴坐标设置问题:出现重复的标签 #1609

Closed
she1014 opened this issue Mar 22, 2016 · 0 comments
Closed

Y轴坐标设置问题:出现重复的标签 #1609

she1014 opened this issue Mar 22, 2016 · 0 comments

Comments

@she1014
Copy link

she1014 commented Mar 22, 2016

YAxis leftAxis = mChart.getAxisLeft();
leftAxis.setTextColor(ColorTemplate.getHoloBlue());
leftAxis.setAxisMinValue(0.0f);
leftAxis.setAxisMaxValue(1.5f);
leftAxis.setTextColor(Color.BLACK);
leftAxis.setDrawGridLines(false);
leftAxis.setLabelCount(14, true);

我希望Y轴,显示从0.1递增到1.5,但是有时Y轴会出现重复的标签,比如0.3出现两次,0.8出现两次,然后Y轴最大值只显示到1.1。

不知道如何解决这个问题?

@PhilJay PhilJay closed this as completed Mar 22, 2016
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

No branches or pull requests

2 participants