Skip to content

Commit f719317

Browse files
committed
Update readme
1 parent 6908acb commit f719317

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,18 @@ const config = ref({
508508
})
509509
```
510510

511+
User options menu can be set to appear only when hovering the component:
512+
513+
```js
514+
const config = 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+
511523
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.
512524

513525
To hide a given action, set the userOption.buttons, for example:

0 commit comments

Comments
 (0)