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

help with labels #2400

Closed
SirComet opened this issue Apr 27, 2017 · 1 comment
Closed

help with labels #2400

SirComet opened this issue Apr 27, 2017 · 1 comment

Comments

@SirComet
Copy link

I am using the library and want to add labels next to the last value of the linechart.
currently overriding drawExtras inside a newLineChartRenderer

but I have overlapping of the labels when the last values are very close. I am trying to workaround this, but if you can provide any help it would be greatly appreciated.

screen shot 2017-04-27 at 6 02 20 pm

@liuxuan30
Copy link
Member

liuxuan30 commented Apr 28, 2017

Check out ChartMarker or ChartLimitLine which suits better. To me, ChartLimitLine may be better, just don't show the line, only the text. e.g. use clear color, or override drawLimitLine() to not to draw lines, only text.

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