From 722c09b03004a9aa4fe63d56609dd5a0fe79c8ca Mon Sep 17 00:00:00 2001 From: Christina <156356273+cratiu222@users.noreply.github.com> Date: Fri, 19 Jul 2024 21:16:32 +0300 Subject: [PATCH 1/6] fix form axis.md Signed-off-by: Christina <156356273+cratiu222@users.noreply.github.com> --- docs/data/charts/axis/axis.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/charts/axis/axis.md b/docs/data/charts/axis/axis.md index f8d4c2dc4c5b7..ce099d84fb912 100644 --- a/docs/data/charts/axis/axis.md +++ b/docs/data/charts/axis/axis.md @@ -22,7 +22,7 @@ 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. +And series specifies the axis they use with `xAxisKey` and `yAxisKey` properties. {{"demo": "ScaleExample.js"}} From aff1412264a34b3d6a3ef4dbae89280f408358b9 Mon Sep 17 00:00:00 2001 From: Christina <156356273+cratiu222@users.noreply.github.com> Date: Fri, 19 Jul 2024 21:17:28 +0300 Subject: [PATCH 2/6] rephrase bars.md Signed-off-by: Christina <156356273+cratiu222@users.noreply.github.com> --- docs/data/charts/bars/bars.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/charts/bars/bars.md b/docs/data/charts/bars/bars.md index 199954a7876b4..d76e2df0bc9a4 100644 --- a/docs/data/charts/bars/bars.md +++ b/docs/data/charts/bars/bars.md @@ -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"}} From 594afe2efb6287f1f2b2006abb1ca35c19c6ac7a Mon Sep 17 00:00:00 2001 From: Christina <156356273+cratiu222@users.noreply.github.com> Date: Fri, 19 Jul 2024 21:17:53 +0300 Subject: [PATCH 3/6] subject-verb agreement components.md Signed-off-by: Christina <156356273+cratiu222@users.noreply.github.com> --- docs/data/charts/components/components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/charts/components/components.md b/docs/data/charts/components/components.md index 1501c39b63b1b..5cfff2f9f6d96 100644 --- a/docs/data/charts/components/components.md +++ b/docs/data/charts/components/components.md @@ -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 From f33281dd761f652622a36107ee3e8eadde7c0c27 Mon Sep 17 00:00:00 2001 From: Christina <156356273+cratiu222@users.noreply.github.com> Date: Fri, 19 Jul 2024 21:22:58 +0300 Subject: [PATCH 4/6] fix column-definition.md Signed-off-by: Christina <156356273+cratiu222@users.noreply.github.com> --- docs/data/data-grid/column-definition/column-definition.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/data-grid/column-definition/column-definition.md b/docs/data/data-grid/column-definition/column-definition.md index d869453225069..a7660270a3980 100644 --- a/docs/data/data-grid/column-definition/column-definition.md +++ b/docs/data/data-grid/column-definition/column-definition.md @@ -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. ::: ## Providing content From 91328f8fb3f8d416ee6e9a6c55ff33aa3d895269 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Fri, 19 Jul 2024 21:03:49 +0200 Subject: [PATCH 5/6] Polish Signed-off-by: Olivier Tassinari --- docs/data/charts/axis/axis.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/data/charts/axis/axis.md b/docs/data/charts/axis/axis.md index ce099d84fb912..faada7bc8eb2a 100644 --- a/docs/data/charts/axis/axis.md +++ b/docs/data/charts/axis/axis.md @@ -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 specifies 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"}} From 7ccc486eb275746534c30b09924ef96599e6beb2 Mon Sep 17 00:00:00 2001 From: Christina <156356273+cratiu222@users.noreply.github.com> Date: Mon, 22 Jul 2024 11:32:55 +0300 Subject: [PATCH 6/6] Update column-definition.md Signed-off-by: Christina <156356273+cratiu222@users.noreply.github.com> --- docs/data/data-grid/column-definition/column-definition.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/data-grid/column-definition/column-definition.md b/docs/data/data-grid/column-definition/column-definition.md index a7660270a3980..d869453225069 100644 --- a/docs/data/data-grid/column-definition/column-definition.md +++ b/docs/data/data-grid/column-definition/column-definition.md @@ -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 memorize it. +You can create the array outside the render function or memoize it. ::: ## Providing content