Skip to content

Commit 21b9345

Browse files
committed
include default aspect value in README.md
1 parent 95d9b7b commit 21b9345

File tree

1 file changed

+1
-1
lines changed
  • react/components/EXPERIMENTAL_Charts/LineChart

1 file changed

+1
-1
lines changed

react/components/EXPERIMENTAL_Charts/LineChart/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ The container property is responsible to define the size of the box that will re
130130
- `width`: The percentage value of the chart's width or a fixed height.
131131
- `aspect`: Width / height. If specified, the height will be calculated by width / aspect.
132132

133-
⚠️ This wrapper component sets a default value for the `aspect`, which takes priority over the `height` property. To respect the `height` set, you also have to set the `aspect` to `null`.
133+
⚠️ This wrapper component sets a default value of `4 / 3` for the `aspect`, which takes priority over the `height` property. To respect the `height` set, you also have to set the `aspect` to `null`.
134134

135135
```js
136136
const sampleData = require('./sampleData').default;

0 commit comments

Comments
 (0)