default props comment for YAxis (#4111)

* default props comment for YAxis

* axis id
This commit is contained in:
Carlos 2024-10-09 01:07:24 +02:00 committed by GitHub
parent c3b7caaf13
commit 19df34d941
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

View File

@ -152,14 +152,14 @@ class YAxis(Axis):
alias = "RechartsYAxis" alias = "RechartsYAxis"
# The orientation of axis 'left' | 'right' # The orientation of axis 'left' | 'right'. Default: "left"
orientation: Var[LiteralOrientationLeftRight] orientation: Var[LiteralOrientationLeftRight]
# The id of y-axis which is corresponding to the data. # The id of y-axis which is corresponding to the data. Default: 0
y_axis_id: Var[Union[str, int]] y_axis_id: Var[Union[str, int]]
# The range of the axis. Work best in conjuction with allow_data_overflow. # Specify the padding of y-axis. Default: {"top": 0, "bottom": 0}
domain: Var[List] padding: Var[Dict[str, int]]
class ZAxis(Recharts): class ZAxis(Recharts):

View File

@ -348,7 +348,7 @@ class YAxis(Axis):
Union[Literal["left", "right"], Var[Literal["left", "right"]]] Union[Literal["left", "right"], Var[Literal["left", "right"]]]
] = None, ] = None,
y_axis_id: Optional[Union[Var[Union[int, str]], int, str]] = None, y_axis_id: Optional[Union[Var[Union[int, str]], int, str]] = None,
domain: Optional[Union[List, Var[List]]] = None, padding: Optional[Union[Dict[str, int], Var[Dict[str, int]]]] = None,
data_key: Optional[Union[Var[Union[int, str]], int, str]] = None, data_key: Optional[Union[Var[Union[int, str]], int, str]] = None,
hide: Optional[Union[Var[bool], bool]] = None, hide: Optional[Union[Var[bool], bool]] = None,
width: Optional[Union[Var[Union[int, str]], int, str]] = None, width: Optional[Union[Var[Union[int, str]], int, str]] = None,
@ -464,9 +464,9 @@ class YAxis(Axis):
Args: Args:
*children: The children of the component. *children: The children of the component.
orientation: The orientation of axis 'left' | 'right' orientation: The orientation of axis 'left' | 'right'. Default: "left"
y_axis_id: The id of y-axis which is corresponding to the data. y_axis_id: The id of y-axis which is corresponding to the data. Default: 0
domain: The range of the axis. Work best in conjuction with allow_data_overflow. padding: Specify the padding of y-axis. Default: {"top": 0, "bottom": 0}
data_key: The key of data displayed in the axis. data_key: The key of data displayed in the axis.
hide: If set true, the axis do not display in the chart. hide: If set true, the axis do not display in the chart.
width: The width of axis which is usually calculated internally. width: The width of axis which is usually calculated internally.