@@ -119,9 +119,9 @@ You can change this behavior with the property `reverse`.
119
119
You can add a grid in the background of the cartesian chart with the ` grid ` prop.
120
120
121
121
It accepts an object with ` vertical ` and ` horizontal ` properties.
122
- Setting those properties to ` true ` will display the grid lines.
122
+ Setting those properties to ` true ` displays the grid lines.
123
123
124
- If you use composition you can pass those properties to the ` <ChartsGrid /> ` component.
124
+ If you use composition you can pass those as props to the ` <ChartsGrid /> ` component.
125
125
126
126
``` jsx
127
127
< BarChart grid= {{ vertical: true }}>
@@ -230,7 +230,7 @@ If you would like to reduce clipping due to overflow, you can [apply an angle to
230
230
In the following demo, the size of the x- and y-axes is modified to increase the space available for tick labels.
231
231
232
232
The first and last tick labels may bleed into the margin. If that margin is not enough to display the label, it might be clipped.
233
- To avoid this, you can use the ` margin ` property to increase the space between the chart and the edge of the container.
233
+ To avoid this, you can use the ` margin ` prop to increase the space between the chart and the edge of the container.
234
234
235
235
{{"demo": "MarginAndLabelPosition.js"}}
236
236
@@ -256,7 +256,7 @@ If you are using composition, you have to provide the axis settings in the `<Cha
256
256
It will provide all the scaling properties to its children, and allows you to use ` <XAxis/> ` and ` <YAxis/> ` components as children.
257
257
Those components require an ` axisId ` prop to link them to an axis you defined in the ` <ChartContainer /> ` .
258
258
259
- You can choose their position with ` position ` props which accept ` 'top' ` /` 'bottom' ` for ` <XAxis /> ` and ` 'left' ` /` 'right' ` for ` <YAxis /> ` .
259
+ You can choose their position with ` position ` prop which accepts ` 'top' ` /` 'bottom' ` for ` <XAxis /> ` and ` 'left' ` /` 'right' ` for ` <YAxis /> ` .
260
260
Other props are similar to the ones defined in the [ previous section] ( /x/react-charts/axis/#rendering ) .
261
261
262
262
{{"demo": "AxisWithComposition.js"}}
0 commit comments