diff --git a/reflex/components/recharts/cartesian.py b/reflex/components/recharts/cartesian.py index 82ea91d00..68717e62f 100644 --- a/reflex/components/recharts/cartesian.py +++ b/reflex/components/recharts/cartesian.py @@ -536,7 +536,7 @@ class Funnel(Recharts): # The source data, in which each element is an object. 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]] # 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" 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] # Specifies when the animation should begin, the unit of this option is ms. Default: 0 diff --git a/reflex/components/recharts/cartesian.pyi b/reflex/components/recharts/cartesian.pyi index 41ac1c29c..fd7c71d84 100644 --- a/reflex/components/recharts/cartesian.pyi +++ b/reflex/components/recharts/cartesian.pyi @@ -1547,10 +1547,10 @@ class Funnel(Recharts): Args: *children: The children of the component. 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" 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_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"