Merge 0fe116bfe2
into 98f50811f9
This commit is contained in:
commit
f1d783bbdd
@ -184,7 +184,7 @@ class ZAxis(Recharts):
|
|||||||
z_axis_id: Var[Union[str, int]]
|
z_axis_id: Var[Union[str, int]]
|
||||||
|
|
||||||
# The range of axis. Default: [10, 10]
|
# The range of axis. Default: [10, 10]
|
||||||
range: Var[List[int]]
|
range: Var[List[int]] = LiteralVar.create([60, 400])
|
||||||
|
|
||||||
# The unit of data displayed in the axis. This option will be used to represent an index unit in a scatter chart.
|
# The unit of data displayed in the axis. This option will be used to represent an index unit in a scatter chart.
|
||||||
unit: Var[Union[str, int]]
|
unit: Var[Union[str, int]]
|
||||||
@ -486,6 +486,9 @@ class Scatter(Recharts):
|
|||||||
# The source data, in which each element is an object.
|
# The source data, in which each element is an object.
|
||||||
data: Var[List[Dict[str, Any]]]
|
data: Var[List[Dict[str, Any]]]
|
||||||
|
|
||||||
|
# The name of the data. It is used to represent the scatter in legend.
|
||||||
|
name: Var[str]
|
||||||
|
|
||||||
# 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"
|
# 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"
|
||||||
legend_type: Var[LiteralLegendType]
|
legend_type: Var[LiteralLegendType]
|
||||||
|
|
||||||
|
@ -1349,6 +1349,7 @@ class Scatter(Recharts):
|
|||||||
cls,
|
cls,
|
||||||
*children,
|
*children,
|
||||||
data: Optional[Union[List[Dict[str, Any]], Var[List[Dict[str, Any]]]]] = None,
|
data: Optional[Union[List[Dict[str, Any]], Var[List[Dict[str, Any]]]]] = None,
|
||||||
|
name: Optional[Union[Var[str], str]] = None,
|
||||||
legend_type: Optional[
|
legend_type: Optional[
|
||||||
Union[
|
Union[
|
||||||
Literal[
|
Literal[
|
||||||
@ -1444,6 +1445,7 @@ class Scatter(Recharts):
|
|||||||
Args:
|
Args:
|
||||||
*children: The children of the component.
|
*children: The children of the component.
|
||||||
data: The source data, in which each element is an object.
|
data: The source data, in which each element is an object.
|
||||||
|
name: The name of the data. It is used to represent the scatter in legend.
|
||||||
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"
|
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
|
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
|
y_axis_id: The id of y-axis which is corresponding to the data. Default: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user