default props comment for CartesianGrid (#4126)
This commit is contained in:
parent
02d4428e39
commit
4982b450fe
@ -779,28 +779,28 @@ class CartesianGrid(Grid):
|
|||||||
|
|
||||||
alias = "RechartsCartesianGrid"
|
alias = "RechartsCartesianGrid"
|
||||||
|
|
||||||
# The horizontal line configuration.
|
# The horizontal line configuration. Default: True
|
||||||
horizontal: Var[bool]
|
horizontal: Var[bool]
|
||||||
|
|
||||||
# The vertical line configuration.
|
# The vertical line configuration. Default: True
|
||||||
vertical: Var[bool]
|
vertical: Var[bool]
|
||||||
|
|
||||||
# The x-coordinates in pixel values of all vertical lines.
|
# The x-coordinates in pixel values of all vertical lines. Default: []
|
||||||
vertical_points: Var[List[Union[str, int]]]
|
vertical_points: Var[List[Union[str, int]]]
|
||||||
|
|
||||||
# The x-coordinates in pixel values of all vertical lines.
|
# The x-coordinates in pixel values of all vertical lines. Default: []
|
||||||
horizontal_points: Var[List[Union[str, int]]]
|
horizontal_points: Var[List[Union[str, int]]]
|
||||||
|
|
||||||
# The background of grid.
|
# The background of grid.
|
||||||
fill: Var[Union[str, Color]]
|
fill: Var[Union[str, Color]]
|
||||||
|
|
||||||
# The opacity of the background used to fill the space between grid lines
|
# The opacity of the background used to fill the space between grid lines.
|
||||||
fill_opacity: Var[float]
|
fill_opacity: Var[float]
|
||||||
|
|
||||||
# The pattern of dashes and gaps used to paint the lines of the grid
|
# The pattern of dashes and gaps used to paint the lines of the grid.
|
||||||
stroke_dasharray: Var[str]
|
stroke_dasharray: Var[str]
|
||||||
|
|
||||||
# the stroke color of grid
|
# the stroke color of grid. Default: rx.color("gray", 7)
|
||||||
stroke: Var[Union[str, Color]] = LiteralVar.create(Color("gray", 7))
|
stroke: Var[Union[str, Color]] = LiteralVar.create(Color("gray", 7))
|
||||||
|
|
||||||
|
|
||||||
|
@ -2142,14 +2142,14 @@ class CartesianGrid(Grid):
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
*children: The children of the component.
|
*children: The children of the component.
|
||||||
horizontal: The horizontal line configuration.
|
horizontal: The horizontal line configuration. Default: True
|
||||||
vertical: The vertical line configuration.
|
vertical: The vertical line configuration. Default: True
|
||||||
vertical_points: The x-coordinates in pixel values of all vertical lines.
|
vertical_points: The x-coordinates in pixel values of all vertical lines. Default: []
|
||||||
horizontal_points: The x-coordinates in pixel values of all vertical lines.
|
horizontal_points: The x-coordinates in pixel values of all vertical lines. Default: []
|
||||||
fill: The background of grid.
|
fill: The background of grid.
|
||||||
fill_opacity: The opacity of the background used to fill the space between grid lines
|
fill_opacity: The opacity of the background used to fill the space between grid lines.
|
||||||
stroke_dasharray: The pattern of dashes and gaps used to paint the lines of the grid
|
stroke_dasharray: The pattern of dashes and gaps used to paint the lines of the grid.
|
||||||
stroke: the stroke color of grid
|
stroke: the stroke color of grid. Default: rx.color("gray", 7)
|
||||||
x: The x-coordinate of grid.
|
x: The x-coordinate of grid.
|
||||||
y: The y-coordinate of grid.
|
y: The y-coordinate of grid.
|
||||||
width: The width of grid.
|
width: The width of grid.
|
||||||
|
Loading…
Reference in New Issue
Block a user