Skip to content

Commit ac8f167

Browse files
committed
Update InteractionMode.tsx
1 parent 34c0d6f commit ac8f167

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/simple/src/components/InteractionMode.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,17 @@ export default function GroupingModes() {
4444
<button onClick={randomizeData}>Randomize Data</button>
4545
<br />
4646
<br />
47+
<em>Voronoi is shown for demonstration purposes</em>
48+
<br />
49+
<br />
4750
<ResizableBox>
4851
<Chart
4952
options={{
5053
data,
5154
interactionMode,
5255
primaryAxis,
5356
secondaryAxes,
54-
57+
showVoronoi: true,
5558
onClickDatum: (datum) => {
5659
if (datum) setState((old) => ({ ...old, clicked: datum as any }));
5760
},

0 commit comments

Comments
 (0)