-
-
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
Overriding Highlight #960
Comments
well if there is really no data (NOT data that value = zero), from the definition:
no arguments are allowed optional, how do you deal with it? |
You can always supply your own Highlighter object. |
@danielgindi oh man what changes? I just sync my library to 2.2.4. |
interface-wise- nothing big. Currently the types are wrong (Float/Double), and one of the function has an additional parameter to accept a data index for better supporting combined chart |
speaking of combined chart - we might be careful because a data(set?) index seems not additonal to me, considering the grouped bars support. These are the pain points when I have to think about markers and highlight for combined chart individual shape and dot. |
Well at first stage I want to allow highlighting individual values, bars, shapes etc. Then after that- to add a property "highlightFullBars" to bar/line based charts- that will allow to select anywhere on the bar to select the whole thing. In combined chart it will allow the current behavior of selecting the full bar with all its values. The first stage is actually read, there's a PR on the Android side waiting for review @PhilJay. |
OK. But I do think we should get started thinking of grouped bar support in combined chart. Sometimes it just gets more complicated or inconvenient when we refactor the code without thinking grouped bar support. And my PR is about 1 year old baby soon, lol |
Yeah I know :-) |
alright, let's see! |
Is it possible to override a LineChartView's highlight to draw and call the delegate's 'chartValueSelected' method even if there is no data at that specific xIndex? I've attempted to make changes in the actual highlight code logic but it feels way too hacky.
The text was updated successfully, but these errors were encountered: