Add more customization to Touch Overlay data points?
More of a feature request, I would like the ability to be able to control the display of Touch Overlay. Fo example if I have a line chart as well as an extra line.
One use case: I have a line of data and a trend line (the trend line is built upon the same data but chunked). I'd like to be able to only display points from the line of data in the touch overlay box and not show the extra line data at the same point since it's really not relevant in a trend line.
Another use case: I have 2 lines - 1 original and another extra line. Line 1's data is on a 0-100 scale, but line 2's data is on a 0-10 scale. For purposes of charting on the same scale, I chart line 1 dividing by 10. However, on the Touch Overlay I'd like to have the control to display line 1's point on it's original 0-100 scale and line 2's point on it's 0-10 scale.
Just a little more granularity - I know I'm in the weeds here. Thanks as always! 🍻
Hey @gesabo, I'm working of a new version of the library - project board and version branch.
One of the changes is that the data model publishes the data points that are relevant to the touch location. I've also added a new modifier so you could add a custom view to display the data points and custom function to set its location on the screen based on variable from inside the library.
I'll update this issue when its available.
Thanks @willdale looking forward to checking it out! 🍻