|
@@ -1331,7 +1331,7 @@ class Scatter(Recharts):
|
|
|
] = None,
|
|
|
x_axis_id: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
|
y_axis_id: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
|
- z_axis_id: Optional[Union[Var[str], str]] = None,
|
|
|
+ z_axis_id: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
|
line: Optional[Union[Var[bool], bool]] = None,
|
|
|
shape: Optional[
|
|
|
Union[
|
|
@@ -1355,7 +1355,6 @@ class Scatter(Recharts):
|
|
|
Union[Literal["fitting", "joint"], Var[Literal["fitting", "joint"]]]
|
|
|
] = None,
|
|
|
fill: Optional[Union[Color, Var[Union[Color, str]], str]] = None,
|
|
|
- name: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
|
is_animation_active: Optional[Union[Var[bool], bool]] = None,
|
|
|
animation_begin: Optional[Union[Var[int], int]] = None,
|
|
|
animation_duration: Optional[Union[Var[int], int]] = None,
|
|
@@ -1413,19 +1412,18 @@ class Scatter(Recharts):
|
|
|
Args:
|
|
|
*children: The children of the component.
|
|
|
data: The source data, in which each element is an object.
|
|
|
- legend_type: The type of icon in legend. If set to 'none', no legend item will be rendered. 'line' | 'plainline' | 'square' | 'rect'| 'circle' | 'cross' | 'diamond' | 'square' | 'star' | 'triangle' | 'wye' | 'none'
|
|
|
- x_axis_id: The id of x-axis which is corresponding to the data.
|
|
|
- y_axis_id: The id of y-axis which is corresponding to the data.
|
|
|
- z_axis_id: The id of z-axis which is corresponding to the data.
|
|
|
- line: If false set, line will not be drawn. If true set, line will be drawn which have the props calculated internally.
|
|
|
- shape: If a string set, specified symbol will be used to show scatter item. 'circle' | 'cross' | 'diamond' | 'square' | 'star' | 'triangle' | 'wye'
|
|
|
- line_type: If 'joint' set, line will generated by just jointing all the points. If 'fitting' set, line will be generated by fitting algorithm. 'joint' | 'fitting'
|
|
|
- fill: The fill
|
|
|
- name: the name
|
|
|
- is_animation_active: If set false, animation of bar will be disabled.
|
|
|
- animation_begin: Specifies when the animation should begin, the unit of this option is ms, default 0.
|
|
|
- animation_duration: Specifies the duration of animation, the unit of this option is ms, default 1500.
|
|
|
- animation_easing: The type of easing function, default 'ease'
|
|
|
+ legend_type: The type of icon in legend. If set to 'none', no legend item will be rendered. 'line' | 'plainline' | 'square' | 'rect'| 'circle' | 'cross' | 'diamond' | 'square' | 'star' | 'triangle' | 'wye' | 'none'. Default: "circle"
|
|
|
+ x_axis_id: The id of x-axis which is corresponding to the data. Default: 0
|
|
|
+ y_axis_id: The id of y-axis which is corresponding to the data. Default: 0
|
|
|
+ z_axis_id: The id of z-axis which is corresponding to the data. Default: 0
|
|
|
+ line: If false set, line will not be drawn. If true set, line will be drawn which have the props calculated internally. Default: False
|
|
|
+ shape: If a string set, specified symbol will be used to show scatter item. 'circle' | 'cross' | 'diamond' | 'square' | 'star' | 'triangle' | 'wye'. Default: "circle"
|
|
|
+ line_type: If 'joint' set, line will generated by just jointing all the points. If 'fitting' set, line will be generated by fitting algorithm. 'joint' | 'fitting'. Default: "joint"
|
|
|
+ fill: The fill color of the scatter. Default: rx.color("accent", 9)
|
|
|
+ is_animation_active: If set false, animation of bar will be disabled. Default: True in CSR, False in SSR
|
|
|
+ animation_begin: Specifies when the animation should begin, the unit of this option is ms. Default: 0
|
|
|
+ animation_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
|
|
|
+ animation_easing: The type of easing function. Default: "ease"
|
|
|
style: The style of the component.
|
|
|
key: A unique key for the component.
|
|
|
id: The id for the component.
|