-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
specify certain point custom color #1144
Comments
well... if it's not about highlight, then you have to change the code I guess. Can it be highlight? |
@liuxuan30 I think that point may always display red color without any gestures, and I find my colleague implement it by highcharts, but I have no idea to do it in iOS with our smart Charts, by the way, I don't want to use and idea? thanks for your reply :) |
you can create a ChartHighlight object to highlight some bars in code, so you don't have to use gestures, and you have to turn it off. Will you need gestures in the future? The idea is simple, get touch events -> create ChartHighlight object -> render the highlight |
well.. a foolish question, is touch events defined in I find many swift files which had event method.. thanks for patience .. |
touch events handled in BarLineChartViewBase I remember. If it's pie chart, it's in pie chart base |
You don't have to handle touches to add highlights. You can just set the highlighted entries... |
I implemented it, thanks for your patience :) |
hi, what config could I custom color of certain point in bar chart and line chart?
like image below which custom the red color of certain point.
thanks for your time.
The text was updated successfully, but these errors were encountered: