This commit is contained in:
carlosabadia 2024-10-10 15:16:49 +02:00
parent 385db8cc0a
commit 9cc735d9cc
2 changed files with 4 additions and 4 deletions

View File

@ -536,7 +536,7 @@ class Funnel(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 key or getter of a group of data which should be unique in a LineChart. # The key or getter of a group of data which should be unique in a FunnelChart.
data_key: Var[Union[str, int]] data_key: Var[Union[str, int]]
# The key of each sector's name. Default: "name" # The key of each sector's name. Default: "name"
@ -545,7 +545,7 @@ class Funnel(Recharts):
# The type of icon in legend. If set to 'none', no legend item will be rendered. Default: "line" # The type of icon in legend. If set to 'none', no legend item will be rendered. Default: "line"
legend_type: Var[LiteralLegendType] legend_type: Var[LiteralLegendType]
# If set false, animation of line will be disabled. Default: True in CSR, False in SSR # If set false, animation of line will be disabled. Default: True
is_animation_active: Var[bool] is_animation_active: Var[bool]
# Specifies when the animation should begin, the unit of this option is ms. Default: 0 # Specifies when the animation should begin, the unit of this option is ms. Default: 0

View File

@ -1547,10 +1547,10 @@ class Funnel(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.
data_key: The key or getter of a group of data which should be unique in a LineChart. data_key: The key or getter of a group of data which should be unique in a FunnelChart.
name_key: The key of each sector's name. Default: "name" name_key: The key of each sector's name. Default: "name"
legend_type: The type of icon in legend. If set to 'none', no legend item will be rendered. Default: "line" legend_type: The type of icon in legend. If set to 'none', no legend item will be rendered. Default: "line"
is_animation_active: If set false, animation of line will be disabled. Default: True in CSR, False in SSR is_animation_active: If set false, animation of line will be disabled. Default: True
animation_begin: Specifies when the animation should begin, the unit of this option is ms. Default: 0 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_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
animation_easing: The type of easing function. 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear'. Default "ease" animation_easing: The type of easing function. 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear'. Default "ease"