Skip to content

Commit

Permalink
[charts] Use correct click handler prop on pie chart `OnSeriesItemCli…
Browse files Browse the repository at this point in the history
…ck` documentation (#13761)

Signed-off-by: Tony Hallett <tonyhallett74@gmail.com>
Co-authored-by: Jose Quintas <juniorquintas@gmail.com>
  • Loading branch information
tonyhallett and JCQuintas authored Jul 8, 2024
1 parent fddfeed commit 8acc141
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/data/charts/pie-demo/OnSeriesItemClick.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ${formatObject(identifier)}`}
data: items,
},
]}
onClick={handleClick}
onItemClick={handleClick}
width={400}
height={200}
margin={{ right: 200 }}
Expand Down
2 changes: 1 addition & 1 deletion docs/data/charts/pie-demo/OnSeriesItemClick.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ ${formatObject(identifier)}`}
data: items,
},
]}
onClick={handleClick}
onItemClick={handleClick}
width={400}
height={200}
margin={{ right: 200 }}
Expand Down

0 comments on commit 8acc141

Please sign in to comment.