Skip to content

Commit 2d01298

Browse files
committed
Make charts non interactable by default.
1 parent 8b2a701 commit 2d01298

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ const monkeyPatchLightningChartInterfaceFunction = (func) => {
102102
// the original user given arguments take priority over the new defaults
103103
args[0] = Object.assign({}, {
104104
maxFps: -1,
105-
disableAnimations: true
105+
disableAnimations: true,
106+
interactable: false,
106107
}, args[0])
107108

108109
// call the original function with modified arguments

0 commit comments

Comments
 (0)