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

Setting custom point drawable only for specific points #297

Open
ugurcany opened this issue Feb 26, 2021 · 2 comments
Open

Setting custom point drawable only for specific points #297

ugurcany opened this issue Feb 26, 2021 · 2 comments

Comments

@ugurcany
Copy link

I know it's possible to set drawable for chart points via chart.pointsDrawableRes = R.drawable.ic_point. However, is it possible to draw it only for some specific points, for instance only for the last point on the chart? Do you have any plan to support this feature?

@diogobernardino
Copy link
Owner

So far never considered. Can you provide some common use-cases?

@ugurcany
Copy link
Author

For instance, setting the last point of stock chart to a different drawable to indicate live price, like the following.

image

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