Add domain prop for the PolarRadiusAxis component (#3349)
This commit is contained in:
parent
7f054fda9d
commit
d99c40a763
@ -308,6 +308,9 @@ class PolarRadiusAxis(Recharts):
|
|||||||
# Valid children components
|
# Valid children components
|
||||||
_valid_children: List[str] = ["Label"]
|
_valid_children: List[str] = ["Label"]
|
||||||
|
|
||||||
|
# The domain of the polar radius axis, specifying the minimum and maximum values.
|
||||||
|
domain: List[int] = [0, 250]
|
||||||
|
|
||||||
def get_event_triggers(self) -> dict[str, Union[Var, Any]]:
|
def get_event_triggers(self) -> dict[str, Union[Var, Any]]:
|
||||||
"""Get the event triggers that pass the component's value to the handler.
|
"""Get the event triggers that pass the component's value to the handler.
|
||||||
|
|
||||||
|
@ -492,6 +492,7 @@ class PolarRadiusAxis(Recharts):
|
|||||||
],
|
],
|
||||||
]
|
]
|
||||||
] = None,
|
] = None,
|
||||||
|
domain: Optional[List[int]] = None,
|
||||||
style: Optional[Style] = None,
|
style: Optional[Style] = None,
|
||||||
key: Optional[Any] = None,
|
key: Optional[Any] = None,
|
||||||
id: Optional[Any] = None,
|
id: Optional[Any] = None,
|
||||||
@ -533,6 +534,7 @@ class PolarRadiusAxis(Recharts):
|
|||||||
tick: The width or height of tick.
|
tick: The width or height of tick.
|
||||||
tick_count: The count of ticks.
|
tick_count: The count of ticks.
|
||||||
scale: If 'auto' set, the scale funtion is linear scale. 'auto' | 'linear' | 'pow' | 'sqrt' | 'log' | 'identity' | 'time' | 'band' | 'point' | 'ordinal' | 'quantile' | 'quantize' | 'utc' | 'sequential' | 'threshold'
|
scale: If 'auto' set, the scale funtion is linear scale. 'auto' | 'linear' | 'pow' | 'sqrt' | 'log' | 'identity' | 'time' | 'band' | 'point' | 'ordinal' | 'quantile' | 'quantize' | 'utc' | 'sequential' | 'threshold'
|
||||||
|
domain: The domain of the polar radius axis, specifying the minimum and maximum values.
|
||||||
style: The style of the component.
|
style: The style of the component.
|
||||||
key: A unique key for the component.
|
key: A unique key for the component.
|
||||||
id: The id for the component.
|
id: The id for the component.
|
||||||
|
Loading…
Reference in New Issue
Block a user