Replies: 2 comments 3 replies
-
Hello, @alpriest. There isn't a public API for this at the moment, but we'll look into adding one. In the meantime:
|
Beta Was this translation helpful? Give feedback.
-
@bbetter I ended up overriding the My code is available at https://github.com/alpriest/EnergyStats-Android/blob/main/app/src/main/java/com/alpriest/energystats/ui/paramsgraph/ParameterGraphVerticalLineMarker.kt Here's the end result: ![]() |
Beta Was this translation helpful? Give feedback.
-
Question
I'm trying to build a Marker which covers multiple bars as you drag. So for example if you touch the 9-10am slot in the graph below it will draw the marker highlighting the various data points - which all share the same timestamp.
On my iOS app charting library I'm able to query an X position for a given datapoint which I use as the rectangle left, and then I repeat for the next date to get the rectangle right position. Is there any way to do this in Vico?
Here's my custom Marker code with the current fiddle of
columnCount
which i'll inject later.Vico version(s)
compose-m3:1.14.0
UI framework(s)
Jetpack Compose
Beta Was this translation helpful? Give feedback.
All reactions