You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2- Do you think it would make more sense to handle mouse events in my application and use the tracker position to identify the TimeMarker being clicked?
Thanks!
I love your library.
Environment
Software
Name/Version
react-timeseries-charts
0.16.0
Browser
Chrome 81
Operating System
Macos
The text was updated successfully, but these errors were encountered:
ok. I found the answer and I am posting it here for the reference. I was using a MultiBrush as well, which turned out to steal the clicks of the TimeMarkers. This was my hierarchy:
ChartRow
Multibrush
LabelAxis
Charts
LineChart
TimeMarker
TimeMarker <-- I wanted to detect clicks on these
TimeMarker
TimeRangeMarker (current)
I guess I will now create something like a MultiBrush but for lines rather than ranges.
❔Question
I want to add time markers to the time series, to select them and to move them with the mouse.
1- I render
TimeMarkers
within theCharts
as described in the documentation:and added an
onClick
event handler to theTimeMarkers
renderLine
method:any idea why am I not getting those events?
2- Do you think it would make more sense to handle mouse events in my application and use the tracker position to identify the
TimeMarker
being clicked?Thanks!
I love your library.
Environment
The text was updated successfully, but these errors were encountered: