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

LineChart Delegate for line values #816

Closed
osolano opened this issue Mar 8, 2016 · 3 comments
Closed

LineChart Delegate for line values #816

osolano opened this issue Mar 8, 2016 · 3 comments

Comments

@osolano
Copy link

osolano commented Mar 8, 2016

Was wondering if there is a way to do this for a line chart? I was looking for a delegate similar to the x-axis labels, but wasn't able to find it.

image

@liuxuan30
Copy link
Member

you want add some string ONLY for the last value?

@osolano
Copy link
Author

osolano commented Mar 9, 2016

Yes, it saves me the trouble of having a legend and allows me to have both lines have the same color.

@liuxuan30
Copy link
Member

well.. this customization can be done by overriding line chart renderer's drawValues(), when it comes to the last value, you manually add the 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