Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Fix some typos in charts docs #13906

Merged
merged 7 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/data/charts/axis/axis.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ Those props expect an array of objects.

Here is a demonstration with two lines with the same data.
But one uses a linear, and the other a log axis.

Each axis definition is identified by its property `id`.
And series specify the axis they use with `xAxisKey` and `yAxisKey` properties.
Then each series specifies the axis they use with the `xAxisKey` and `yAxisKey` properties.

{{"demo": "ScaleExample.js"}}

Expand Down
2 changes: 1 addition & 1 deletion docs/data/charts/bars/bars.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The ratio is obtained by dividing the size of the gap by the size of the categor
The `barGapRatio` defines the gap between two bars of the same category.
It's the size of the gap divided by the size of the bar.
So a value of `1` will result in a gap between bars equal to the bar width.
And a value of `-1` will make bars overlap on top of each over.
And a value of `-1` will make bars overlap on top of each other.

{{"demo": "BarGapNoSnap.js", "hideToolbar": true, "bg": "playground"}}

Expand Down
2 changes: 1 addition & 1 deletion docs/data/charts/components/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ You don't need extra work to take into account the drawing area.
#### Value to coordinate

The `d3-scale` default method maps from values to coordinates.
For example, you can get the `x=0` coordinate as follow:
For example, you can get the `x=0` coordinate as follows:

```jsx
const xAxisScale = useXScale(); // get the default X scale
Expand Down
2 changes: 1 addition & 1 deletion docs/data/data-grid/column-definition/column-definition.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface GridColDef {
The `columns` prop should keep the same reference between two renders.
The columns are designed to be definitions, to never change once the component is mounted.
Otherwise, you take the risk of losing elements like column width or order.
You can create the array outside the render function or memoize it.
You can create the array outside the render function or memorize it.
cratiu222 marked this conversation as resolved.
Show resolved Hide resolved
:::

## Providing content
Expand Down
Loading