Skip to content

Commit

Permalink
fix material bar chart's stack option
Browse files Browse the repository at this point in the history
Change option `isStacked` to `stacked`
  • Loading branch information
CrazyOrr authored Jan 15, 2025
1 parent 5a04d14 commit 81cd11b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/docs/docs/examples/bar-chart-material.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@ const options = {

### Stacked Bar Chart

To stack the bars, set the `isStacked` option to `true`:
To stack the bars, set the `stacked` option to `true`:

```jsx
const options = {
isStacked: true,
stacked: true,
chart: {
title: "Company Performance",
subtitle: "Sales and Expenses over the Years",
Expand Down

0 comments on commit 81cd11b

Please sign in to comment.