Skip to content

Commit

Permalink
fix: remove tooltip on exit chart area
Browse files Browse the repository at this point in the history
  • Loading branch information
canastro committed Mar 21, 2022
1 parent f808963 commit b2f973b
Show file tree
Hide file tree
Showing 3 changed files with 533 additions and 455 deletions.
8 changes: 7 additions & 1 deletion example/lib/pages/interval.dart
Expand Up @@ -78,7 +78,13 @@ class IntervalPage extends StatelessWidget {
Defaults.horizontalAxis,
Defaults.verticalAxis,
],
selections: {'tap': PointSelection(dim: Dim.x)},
selections: {
'hover': PointSelection(
dim: Dim.x,
on: {GestureType.hover},
clear: {GestureType.mouseExit},
)
},
tooltip: TooltipGuide(),
crosshair: CrosshairGuide(),
),
Expand Down

0 comments on commit b2f973b

Please sign in to comment.