Skip to content

Commit 8bf79b2

Browse files
authored
Merge pull request #380 from robin-gerling/fix-9265
fix(grid): Adapt documentation of containLabel to include axis name. …
2 parents 44754dd + 95e17f4 commit 8bf79b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

en/option/component/grid.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ Whether to show the grid in rectangular coordinate.
3333

3434
<ExampleUIControlBoolean default="false" />
3535

36-
Whether the grid region contains [axis tick label](~yAxis.axisLabel) of axis.
36+
Whether the grid region contains [axis tick label](~yAxis.axisLabel) and [axis name](~yAxis.name) of axis.
3737

3838
+ When containLabel is `false`:
3939
+ `grid.left` `grid.right` `grid.top` `grid.bottom` `grid.width` `grid.height` decide the location and size of the rectangle that is made of by xAxis and yAxis.
4040
+ Setting to `false` will help when multiple grids need to be aligned at their axes.
4141
+ When containLabel is `true`:
42-
+ `grid.left` `grid.right` `grid.top` `grid.bottom` `grid.width` `grid.height` decide the location and size of the rectangle that contains the axes and the labels of the axes.
43-
+ Setting to `true` will help when the length of axis labels is dynamic and is hard to approximate. This will avoid labels from overflowing the container or overlapping other components.
42+
+ `grid.left` `grid.right` `grid.top` `grid.bottom` `grid.width` `grid.height` decide the location and size of the rectangle that contains the axes, and the labels and the names of the axes.
43+
+ Setting to `true` will help when the length of axis labels is dynamic and is hard to approximate. This will avoid labels and names from overflowing the container or overlapping other components.
4444

4545
{{ use: partial-component-common-style(
4646
componentName = "grid",

0 commit comments

Comments
 (0)