default props comment for Grid (#4125)

This commit is contained in:
Carlos 2024-10-10 21:57:46 +02:00 committed by GitHub
parent 6f586c8b8f
commit 11abaf8055
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 16 deletions

View File

@ -751,16 +751,16 @@ class ReferenceArea(Recharts):
class Grid(Recharts):
"""A base class for grid components in Recharts."""
# The x-coordinate of grid.
# The x-coordinate of grid. Default: 0
x: Var[int]
# The y-coordinate of grid.
# The y-coordinate of grid. Default: 0
y: Var[int]
# The width of grid.
# The width of grid. Default: 0
width: Var[int]
# The height of grid.
# The height of grid. Default: 0
height: Var[int]

View File

@ -2047,10 +2047,10 @@ class Grid(Recharts):
Args:
*children: The children of the component.
x: The x-coordinate of grid.
y: The y-coordinate of grid.
width: The width of grid.
height: The height of grid.
x: The x-coordinate of grid. Default: 0
y: The y-coordinate of grid. Default: 0
width: The width of grid. Default: 0
height: The height of grid. Default: 0
style: The style of the component.
key: A unique key for the component.
id: The id for the component.
@ -2141,10 +2141,10 @@ class CartesianGrid(Grid):
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: the stroke color of grid. Default: rx.color("gray", 7)
x: The x-coordinate of grid.
y: The y-coordinate of grid.
width: The width of grid.
height: The height of grid.
x: The x-coordinate of grid. Default: 0
y: The y-coordinate of grid. Default: 0
width: The width of grid. Default: 0
height: The height of grid. Default: 0
style: The style of the component.
key: A unique key for the component.
id: The id for the component.
@ -2245,10 +2245,10 @@ class CartesianAxis(Grid):
label: If set a string or a number, default label will be drawn, and the option is content.
mirror: If set true, flips ticks around the axis line, displaying the labels inside the chart instead of outside. Default: False
tick_margin: The margin between tick line and tick.
x: The x-coordinate of grid.
y: The y-coordinate of grid.
width: The width of grid.
height: The height of grid.
x: The x-coordinate of grid. Default: 0
y: The y-coordinate of grid. Default: 0
width: The width of grid. Default: 0
height: The height of grid. Default: 0
style: The style of the component.
key: A unique key for the component.
id: The id for the component.