Skip to content

Commit d4a5856

Browse files
committed
Config - Update user options base config
1 parent 0286f94 commit d4a5856

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/useConfig.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ export function useConfig() {
154154

155155
return {
156156
show: true,
157+
showOnChartHover: false,
158+
keepStateOnChartLeave: true,
157159
position: 'right',
158160
buttons: {
159161
tooltip,
@@ -2407,6 +2409,8 @@ export function useConfig() {
24072409
showTooltip: true,
24082410
showUserOptions: true,
24092411
userOptionsPosition: 'right',
2412+
showUserOptionsOnChartHover: false,
2413+
keepUserOptionsStateOnChartLeave: true,
24102414
userOptionsButtons: {
24112415
tooltip: true,
24122416
pdf: true,

0 commit comments

Comments
 (0)