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
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -508,6 +508,18 @@ const config = ref({
508
508
})
509
509
```
510
510
511
+
User options menu can be set to appear only when hovering the component:
512
+
513
+
```js
514
+
constconfig=ref({
515
+
userOptions: {
516
+
show:true,
517
+
showOnChartHover:true, // Default: false
518
+
keepStateOnChartLeave:true, // Set to false to always close the menu when hovering out of the chart
519
+
},
520
+
});
521
+
```
522
+
511
523
Predefined actions in user options menu depend on the type of chart. Some charts have more or less actions available. Action buttons contain an predefined icons by default.
512
524
513
525
To hide a given action, set the userOption.buttons, for example:
0 commit comments