-
Notifications
You must be signed in to change notification settings - Fork 1.2k
SelectNearest behavior doesn't work with SelectionTrigger.hover #410
Comments
+1 |
I'm facing the same problem. Within my chart behaviors I'm using the following code: charts.TimeSeriesChart(
...
behaviors: <charts.Behaviors> [
charts.PanAndZoomBehavior(),
charts.SlidingViewport(
charts.SelectionModelType.action
),
charts.SelectNearest(
eventTrigger: charts.SelectionTrigger.tap,
selectionModelType: charts.SelectionModelType.action,
),
charts.SelectNearest(
eventTrigger: charts.SelectionTrigger.hover,
selectionModelType: charts.SelectionModelType.info
),
]
...
); In this case I get nothing when hovering over elements in the chart, my viewport jumps to wherever I tap, when I tap it does not draw a vertical line or highlight points on the chart, and hold+drag does not move the viewport. However, if I remove the |
@huffSamuel any answer |
I am still unable to get this to behave as expected. |
@kevmoo can you help with this issue? |
Trying to show the value of a graph on hover but the SelectNearest behavior doesn't work with SelectionTrigger.hover. It works with tap but business wants hover. Please advise.
The text was updated successfully, but these errors were encountered: