reflex 0.6.4a2__py3-none-any.whl → 0.6.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of reflex might be problematic. Click here for more details.
- reflex/.templates/jinja/web/pages/custom_component.js.jinja2 +0 -14
- reflex/.templates/jinja/web/pages/utils.js.jinja2 +4 -8
- reflex/.templates/web/components/shiki/code.js +16 -11
- reflex/.templates/web/utils/state.js +29 -21
- reflex/__init__.py +4 -0
- reflex/__init__.pyi +4 -0
- reflex/app.py +148 -154
- reflex/app_mixins/lifespan.py +5 -1
- reflex/app_mixins/middleware.py +3 -1
- reflex/app_mixins/mixin.py +3 -2
- reflex/base.py +2 -4
- reflex/compiler/compiler.py +111 -37
- reflex/components/base/app_wrap.pyi +17 -17
- reflex/components/base/bare.py +72 -3
- reflex/components/base/body.pyi +17 -17
- reflex/components/base/document.pyi +81 -81
- reflex/components/base/error_boundary.pyi +25 -18
- reflex/components/base/fragment.pyi +17 -17
- reflex/components/base/head.pyi +33 -33
- reflex/components/base/link.pyi +33 -33
- reflex/components/base/meta.pyi +65 -65
- reflex/components/base/script.py +4 -4
- reflex/components/base/script.pyi +23 -20
- reflex/components/component.py +250 -31
- reflex/components/core/banner.py +1 -1
- reflex/components/core/banner.pyi +81 -81
- reflex/components/core/client_side_routing.pyi +33 -33
- reflex/components/core/clipboard.py +2 -2
- reflex/components/core/clipboard.pyi +24 -18
- reflex/components/core/debounce.py +2 -2
- reflex/components/core/debounce.pyi +18 -18
- reflex/components/core/html.pyi +17 -17
- reflex/components/core/upload.py +90 -28
- reflex/components/core/upload.pyi +128 -72
- reflex/components/datadisplay/code.py +55 -40
- reflex/components/datadisplay/code.pyi +46 -44
- reflex/components/datadisplay/dataeditor.py +21 -20
- reflex/components/datadisplay/dataeditor.pyi +103 -35
- reflex/components/datadisplay/shiki_code_block.py +60 -27
- reflex/components/datadisplay/shiki_code_block.pyi +86 -65
- reflex/components/dynamic.py +9 -5
- reflex/components/el/element.pyi +17 -17
- reflex/components/el/elements/base.pyi +17 -17
- reflex/components/el/elements/forms.py +12 -3
- reflex/components/el/elements/forms.pyi +293 -233
- reflex/components/el/elements/inline.pyi +449 -449
- reflex/components/el/elements/media.pyi +401 -401
- reflex/components/el/elements/metadata.pyi +97 -97
- reflex/components/el/elements/other.pyi +113 -113
- reflex/components/el/elements/scripts.pyi +49 -49
- reflex/components/el/elements/sectioning.pyi +241 -241
- reflex/components/el/elements/tables.pyi +161 -161
- reflex/components/el/elements/typography.pyi +241 -241
- reflex/components/gridjs/datatable.pyi +33 -33
- reflex/components/lucide/icon.py +1 -1
- reflex/components/lucide/icon.pyi +33 -33
- reflex/components/markdown/markdown.py +180 -49
- reflex/components/markdown/markdown.pyi +36 -19
- reflex/components/moment/moment.py +17 -21
- reflex/components/moment/moment.pyi +26 -21
- reflex/components/next/base.pyi +17 -17
- reflex/components/next/image.py +3 -3
- reflex/components/next/image.pyi +21 -19
- reflex/components/next/link.pyi +17 -17
- reflex/components/next/video.pyi +17 -17
- reflex/components/plotly/plotly.py +79 -78
- reflex/components/plotly/plotly.pyi +91 -41
- reflex/components/props.py +34 -0
- reflex/components/radix/primitives/accordion.py +15 -8
- reflex/components/radix/primitives/accordion.pyi +121 -118
- reflex/components/radix/primitives/base.pyi +33 -33
- reflex/components/radix/primitives/drawer.py +41 -20
- reflex/components/radix/primitives/drawer.pyi +279 -190
- reflex/components/radix/primitives/form.py +2 -2
- reflex/components/radix/primitives/form.pyi +200 -167
- reflex/components/radix/primitives/progress.pyi +81 -81
- reflex/components/radix/primitives/slider.pyi +89 -83
- reflex/components/radix/themes/base.py +30 -1
- reflex/components/radix/themes/base.pyi +286 -113
- reflex/components/radix/themes/color_mode.py +17 -9
- reflex/components/radix/themes/color_mode.pyi +68 -56
- reflex/components/radix/themes/components/alert_dialog.py +8 -5
- reflex/components/radix/themes/components/alert_dialog.pyi +125 -117
- reflex/components/radix/themes/components/aspect_ratio.pyi +17 -17
- reflex/components/radix/themes/components/avatar.py +1 -5
- reflex/components/radix/themes/components/avatar.pyi +17 -17
- reflex/components/radix/themes/components/badge.py +1 -5
- reflex/components/radix/themes/components/badge.pyi +17 -17
- reflex/components/radix/themes/components/button.pyi +18 -21
- reflex/components/radix/themes/components/callout.py +1 -4
- reflex/components/radix/themes/components/callout.pyi +81 -81
- reflex/components/radix/themes/components/card.py +1 -3
- reflex/components/radix/themes/components/card.pyi +17 -17
- reflex/components/radix/themes/components/checkbox.py +4 -8
- reflex/components/radix/themes/components/checkbox.pyi +61 -52
- reflex/components/radix/themes/components/checkbox_cards.pyi +33 -33
- reflex/components/radix/themes/components/checkbox_group.pyi +33 -33
- reflex/components/radix/themes/components/context_menu.py +121 -28
- reflex/components/radix/themes/components/context_menu.pyi +250 -147
- reflex/components/radix/themes/components/data_list.pyi +65 -65
- reflex/components/radix/themes/components/dialog.py +11 -11
- reflex/components/radix/themes/components/dialog.pyi +135 -120
- reflex/components/radix/themes/components/dropdown_menu.py +14 -25
- reflex/components/radix/themes/components/dropdown_menu.pyi +157 -145
- reflex/components/radix/themes/components/hover_card.py +19 -7
- reflex/components/radix/themes/components/hover_card.pyi +102 -67
- reflex/components/radix/themes/components/icon_button.pyi +18 -21
- reflex/components/radix/themes/components/inset.py +1 -3
- reflex/components/radix/themes/components/inset.pyi +17 -17
- reflex/components/radix/themes/components/popover.py +22 -13
- reflex/components/radix/themes/components/popover.pyi +98 -72
- reflex/components/radix/themes/components/progress.pyi +17 -17
- reflex/components/radix/themes/components/radio.pyi +17 -17
- reflex/components/radix/themes/components/radio_cards.py +2 -2
- reflex/components/radix/themes/components/radio_cards.pyi +37 -34
- reflex/components/radix/themes/components/radio_group.py +3 -7
- reflex/components/radix/themes/components/radio_group.pyi +69 -66
- reflex/components/radix/themes/components/scroll_area.py +1 -3
- reflex/components/radix/themes/components/scroll_area.pyi +17 -17
- reflex/components/radix/themes/components/segmented_control.pyi +37 -34
- reflex/components/radix/themes/components/select.py +7 -11
- reflex/components/radix/themes/components/select.pyi +175 -154
- reflex/components/radix/themes/components/separator.py +1 -4
- reflex/components/radix/themes/components/separator.pyi +17 -17
- reflex/components/radix/themes/components/skeleton.pyi +17 -17
- reflex/components/radix/themes/components/slider.py +12 -21
- reflex/components/radix/themes/components/slider.pyi +47 -25
- reflex/components/radix/themes/components/spinner.py +1 -4
- reflex/components/radix/themes/components/spinner.pyi +17 -17
- reflex/components/radix/themes/components/switch.py +3 -6
- reflex/components/radix/themes/components/switch.pyi +21 -18
- reflex/components/radix/themes/components/table.py +21 -5
- reflex/components/radix/themes/components/table.pyi +392 -116
- reflex/components/radix/themes/components/tabs.py +3 -6
- reflex/components/radix/themes/components/tabs.pyi +89 -83
- reflex/components/radix/themes/components/text_area.py +1 -5
- reflex/components/radix/themes/components/text_area.pyi +43 -20
- reflex/components/radix/themes/components/text_field.py +1 -5
- reflex/components/radix/themes/components/text_field.pyi +101 -55
- reflex/components/radix/themes/components/tooltip.py +5 -7
- reflex/components/radix/themes/components/tooltip.pyi +25 -22
- reflex/components/radix/themes/layout/base.py +2 -27
- reflex/components/radix/themes/layout/base.pyi +82 -82
- reflex/components/radix/themes/layout/box.pyi +17 -17
- reflex/components/radix/themes/layout/center.pyi +17 -17
- reflex/components/radix/themes/layout/container.pyi +17 -17
- reflex/components/radix/themes/layout/flex.py +1 -6
- reflex/components/radix/themes/layout/flex.pyi +17 -17
- reflex/components/radix/themes/layout/grid.py +1 -6
- reflex/components/radix/themes/layout/grid.pyi +17 -17
- reflex/components/radix/themes/layout/list.py +20 -15
- reflex/components/radix/themes/layout/list.pyi +175 -92
- reflex/components/radix/themes/layout/section.pyi +17 -17
- reflex/components/radix/themes/layout/spacer.pyi +17 -17
- reflex/components/radix/themes/layout/stack.py +6 -6
- reflex/components/radix/themes/layout/stack.pyi +91 -62
- reflex/components/radix/themes/typography/blockquote.py +2 -8
- reflex/components/radix/themes/typography/blockquote.pyi +17 -17
- reflex/components/radix/themes/typography/code.py +4 -10
- reflex/components/radix/themes/typography/code.pyi +19 -18
- reflex/components/radix/themes/typography/heading.py +4 -11
- reflex/components/radix/themes/typography/heading.pyi +19 -18
- reflex/components/radix/themes/typography/link.py +4 -10
- reflex/components/radix/themes/typography/link.pyi +19 -18
- reflex/components/radix/themes/typography/text.py +4 -11
- reflex/components/radix/themes/typography/text.pyi +115 -114
- reflex/components/react_player/audio.pyi +58 -33
- reflex/components/react_player/react_player.py +17 -17
- reflex/components/react_player/react_player.pyi +55 -33
- reflex/components/react_player/video.pyi +58 -33
- reflex/components/recharts/cartesian.py +45 -45
- reflex/components/recharts/cartesian.pyi +389 -304
- reflex/components/recharts/charts.py +22 -22
- reflex/components/recharts/charts.pyi +226 -179
- reflex/components/recharts/general.py +26 -27
- reflex/components/recharts/general.pyi +106 -99
- reflex/components/recharts/polar.py +33 -33
- reflex/components/recharts/polar.pyi +70 -64
- reflex/components/recharts/recharts.pyi +33 -33
- reflex/components/sonner/toast.py +9 -36
- reflex/components/sonner/toast.pyi +20 -24
- reflex/components/suneditor/editor.py +8 -8
- reflex/components/suneditor/editor.pyi +50 -25
- reflex/components/tags/iter_tag.py +1 -10
- reflex/components/tags/tag.py +1 -4
- reflex/config.py +252 -41
- reflex/constants/__init__.py +4 -16
- reflex/constants/base.py +7 -14
- reflex/constants/colors.py +0 -1
- reflex/constants/installer.py +12 -7
- reflex/constants/state.py +4 -0
- reflex/custom_components/custom_components.py +6 -6
- reflex/event.py +486 -241
- reflex/experimental/client_state.py +9 -9
- reflex/experimental/layout.py +2 -2
- reflex/experimental/layout.pyi +95 -87
- reflex/experimental/misc.py +1 -1
- reflex/istate/__init__.py +1 -0
- reflex/istate/proxy.py +33 -0
- reflex/istate/wrappers.py +27 -0
- reflex/model.py +7 -7
- reflex/page.py +2 -1
- reflex/reflex.py +142 -8
- reflex/state.py +133 -46
- reflex/testing.py +9 -7
- reflex/utils/console.py +0 -1
- reflex/utils/exceptions.py +31 -3
- reflex/utils/exec.py +33 -14
- reflex/utils/format.py +15 -12
- reflex/utils/net.py +1 -1
- reflex/utils/path_ops.py +2 -2
- reflex/utils/prerequisites.py +82 -46
- reflex/utils/pyi_generator.py +63 -20
- reflex/utils/registry.py +1 -1
- reflex/utils/serializers.py +75 -36
- reflex/utils/telemetry.py +3 -2
- reflex/utils/types.py +125 -10
- reflex/vars/base.py +131 -119
- reflex/vars/function.py +59 -12
- reflex/vars/number.py +3 -1
- reflex/vars/object.py +30 -24
- reflex/vars/sequence.py +7 -7
- {reflex-0.6.4a2.dist-info → reflex-0.6.5.dist-info}/METADATA +3 -3
- reflex-0.6.5.dist-info/RECORD +394 -0
- reflex-0.6.4a2.dist-info/RECORD +0 -391
- {reflex-0.6.4a2.dist-info → reflex-0.6.5.dist-info}/LICENSE +0 -0
- {reflex-0.6.4a2.dist-info → reflex-0.6.5.dist-info}/WHEEL +0 -0
- {reflex-0.6.4a2.dist-info → reflex-0.6.5.dist-info}/entry_points.txt +0 -0
|
@@ -6,13 +6,11 @@
|
|
|
6
6
|
from typing import Any, Dict, List, Literal, Optional, Union, overload
|
|
7
7
|
|
|
8
8
|
from reflex.constants.colors import Color
|
|
9
|
-
from reflex.event import EventType
|
|
9
|
+
from reflex.event import BASE_STATE, EventType
|
|
10
10
|
from reflex.style import Style
|
|
11
11
|
from reflex.vars.base import Var
|
|
12
12
|
|
|
13
|
-
from .recharts import
|
|
14
|
-
Recharts,
|
|
15
|
-
)
|
|
13
|
+
from .recharts import Recharts
|
|
16
14
|
|
|
17
15
|
class Axis(Recharts):
|
|
18
16
|
@overload
|
|
@@ -121,22 +119,22 @@ class Axis(Recharts):
|
|
|
121
119
|
id: Optional[Any] = None,
|
|
122
120
|
class_name: Optional[Any] = None,
|
|
123
121
|
autofocus: Optional[bool] = None,
|
|
124
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
125
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
126
|
-
on_click: Optional[EventType[[]]] = None,
|
|
127
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
128
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
129
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
130
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
131
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
132
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
133
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
134
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
135
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
136
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
137
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
138
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
139
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
122
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
123
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
124
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
125
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
126
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
127
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
128
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
129
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
130
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
131
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
132
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
133
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
134
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
135
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
136
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
137
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
140
138
|
**props,
|
|
141
139
|
) -> "Axis":
|
|
142
140
|
"""Create the component.
|
|
@@ -168,6 +166,13 @@ class Axis(Recharts):
|
|
|
168
166
|
min_tick_gap: The minimum gap between two adjacent labels. Default: 5
|
|
169
167
|
stroke: The stroke color of axis. Default: rx.color("gray", 9)
|
|
170
168
|
text_anchor: The text anchor of axis. Default: "middle"
|
|
169
|
+
on_click: The customized event handler of click on the ticks of this axis
|
|
170
|
+
on_mouse_down: The customized event handler of mousedown on the ticks of this axis
|
|
171
|
+
on_mouse_up: The customized event handler of mouseup on the ticks of this axis
|
|
172
|
+
on_mouse_move: The customized event handler of mousemove on the ticks of this axis
|
|
173
|
+
on_mouse_out: The customized event handler of mouseout on the ticks of this axis
|
|
174
|
+
on_mouse_enter: The customized event handler of mouseenter on the ticks of this axis
|
|
175
|
+
on_mouse_leave: The customized event handler of mouseleave on the ticks of this axis
|
|
171
176
|
style: The style of the component.
|
|
172
177
|
key: A unique key for the component.
|
|
173
178
|
id: The id for the component.
|
|
@@ -295,22 +300,22 @@ class XAxis(Axis):
|
|
|
295
300
|
id: Optional[Any] = None,
|
|
296
301
|
class_name: Optional[Any] = None,
|
|
297
302
|
autofocus: Optional[bool] = None,
|
|
298
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
299
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
300
|
-
on_click: Optional[EventType[[]]] = None,
|
|
301
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
302
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
303
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
304
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
305
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
306
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
307
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
308
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
309
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
310
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
311
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
312
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
313
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
303
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
304
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
305
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
306
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
307
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
308
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
309
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
310
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
311
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
312
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
313
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
314
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
315
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
316
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
317
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
318
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
314
319
|
**props,
|
|
315
320
|
) -> "XAxis":
|
|
316
321
|
"""Create the component.
|
|
@@ -347,6 +352,13 @@ class XAxis(Axis):
|
|
|
347
352
|
min_tick_gap: The minimum gap between two adjacent labels. Default: 5
|
|
348
353
|
stroke: The stroke color of axis. Default: rx.color("gray", 9)
|
|
349
354
|
text_anchor: The text anchor of axis. Default: "middle"
|
|
355
|
+
on_click: The customized event handler of click on the ticks of this axis
|
|
356
|
+
on_mouse_down: The customized event handler of mousedown on the ticks of this axis
|
|
357
|
+
on_mouse_up: The customized event handler of mouseup on the ticks of this axis
|
|
358
|
+
on_mouse_move: The customized event handler of mousemove on the ticks of this axis
|
|
359
|
+
on_mouse_out: The customized event handler of mouseout on the ticks of this axis
|
|
360
|
+
on_mouse_enter: The customized event handler of mouseenter on the ticks of this axis
|
|
361
|
+
on_mouse_leave: The customized event handler of mouseleave on the ticks of this axis
|
|
350
362
|
style: The style of the component.
|
|
351
363
|
key: A unique key for the component.
|
|
352
364
|
id: The id for the component.
|
|
@@ -472,22 +484,22 @@ class YAxis(Axis):
|
|
|
472
484
|
id: Optional[Any] = None,
|
|
473
485
|
class_name: Optional[Any] = None,
|
|
474
486
|
autofocus: Optional[bool] = None,
|
|
475
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
476
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
477
|
-
on_click: Optional[EventType[[]]] = None,
|
|
478
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
479
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
480
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
481
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
482
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
483
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
484
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
485
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
486
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
487
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
488
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
489
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
490
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
487
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
488
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
489
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
490
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
491
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
492
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
493
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
494
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
495
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
496
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
497
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
498
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
499
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
500
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
501
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
502
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
491
503
|
**props,
|
|
492
504
|
) -> "YAxis":
|
|
493
505
|
"""Create the component.
|
|
@@ -522,6 +534,13 @@ class YAxis(Axis):
|
|
|
522
534
|
min_tick_gap: The minimum gap between two adjacent labels. Default: 5
|
|
523
535
|
stroke: The stroke color of axis. Default: rx.color("gray", 9)
|
|
524
536
|
text_anchor: The text anchor of axis. Default: "middle"
|
|
537
|
+
on_click: The customized event handler of click on the ticks of this axis
|
|
538
|
+
on_mouse_down: The customized event handler of mousedown on the ticks of this axis
|
|
539
|
+
on_mouse_up: The customized event handler of mouseup on the ticks of this axis
|
|
540
|
+
on_mouse_move: The customized event handler of mousemove on the ticks of this axis
|
|
541
|
+
on_mouse_out: The customized event handler of mouseout on the ticks of this axis
|
|
542
|
+
on_mouse_enter: The customized event handler of mouseenter on the ticks of this axis
|
|
543
|
+
on_mouse_leave: The customized event handler of mouseleave on the ticks of this axis
|
|
525
544
|
style: The style of the component.
|
|
526
545
|
key: A unique key for the component.
|
|
527
546
|
id: The id for the component.
|
|
@@ -591,22 +610,22 @@ class ZAxis(Recharts):
|
|
|
591
610
|
id: Optional[Any] = None,
|
|
592
611
|
class_name: Optional[Any] = None,
|
|
593
612
|
autofocus: Optional[bool] = None,
|
|
594
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
595
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
596
|
-
on_click: Optional[EventType[[]]] = None,
|
|
597
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
598
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
599
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
600
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
601
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
602
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
603
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
604
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
605
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
606
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
607
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
608
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
609
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
613
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
614
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
615
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
616
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
617
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
618
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
619
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
620
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
621
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
622
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
623
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
624
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
625
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
626
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
627
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
628
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
610
629
|
**props,
|
|
611
630
|
) -> "ZAxis":
|
|
612
631
|
"""Create the component.
|
|
@@ -656,8 +675,8 @@ class Brush(Recharts):
|
|
|
656
675
|
id: Optional[Any] = None,
|
|
657
676
|
class_name: Optional[Any] = None,
|
|
658
677
|
autofocus: Optional[bool] = None,
|
|
659
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
660
|
-
on_change: Optional[EventType[[]]] = None,
|
|
678
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
679
|
+
on_change: Optional[EventType[[], BASE_STATE]] = None,
|
|
661
680
|
**props,
|
|
662
681
|
) -> "Brush":
|
|
663
682
|
"""Create the component.
|
|
@@ -752,24 +771,24 @@ class Cartesian(Recharts):
|
|
|
752
771
|
id: Optional[Any] = None,
|
|
753
772
|
class_name: Optional[Any] = None,
|
|
754
773
|
autofocus: Optional[bool] = None,
|
|
755
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
756
|
-
on_animation_end: Optional[EventType[[]]] = None,
|
|
757
|
-
on_animation_start: Optional[EventType[[]]] = None,
|
|
758
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
759
|
-
on_click: Optional[EventType[[]]] = None,
|
|
760
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
761
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
762
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
763
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
764
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
765
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
766
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
767
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
768
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
769
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
770
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
771
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
772
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
774
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
775
|
+
on_animation_end: Optional[EventType[[], BASE_STATE]] = None,
|
|
776
|
+
on_animation_start: Optional[EventType[[], BASE_STATE]] = None,
|
|
777
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
778
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
779
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
780
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
781
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
782
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
783
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
784
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
785
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
786
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
787
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
788
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
789
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
790
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
791
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
773
792
|
**props,
|
|
774
793
|
) -> "Cartesian":
|
|
775
794
|
"""Create the component.
|
|
@@ -787,6 +806,16 @@ class Cartesian(Recharts):
|
|
|
787
806
|
animation_easing: The type of easing function. Default: "ease"
|
|
788
807
|
unit: The unit of data. This option will be used in tooltip.
|
|
789
808
|
name: The name of data. This option will be used in tooltip and legend to represent the component. If no value was set to this option, the value of dataKey will be used alternatively.
|
|
809
|
+
on_animation_start: The customized event handler of animation start
|
|
810
|
+
on_animation_end: The customized event handler of animation end
|
|
811
|
+
on_click: The customized event handler of click on the component in this group
|
|
812
|
+
on_mouse_down: The customized event handler of mousedown on the component in this group
|
|
813
|
+
on_mouse_up: The customized event handler of mouseup on the component in this group
|
|
814
|
+
on_mouse_move: The customized event handler of mousemove on the component in this group
|
|
815
|
+
on_mouse_over: The customized event handler of mouseover on the component in this group
|
|
816
|
+
on_mouse_out: The customized event handler of mouseout on the component in this group
|
|
817
|
+
on_mouse_enter: The customized event handler of mouseenter on the component in this group
|
|
818
|
+
on_mouse_leave: The customized event handler of mouseleave on the component in this group
|
|
790
819
|
style: The style of the component.
|
|
791
820
|
key: A unique key for the component.
|
|
792
821
|
id: The id for the component.
|
|
@@ -919,24 +948,24 @@ class Area(Cartesian):
|
|
|
919
948
|
id: Optional[Any] = None,
|
|
920
949
|
class_name: Optional[Any] = None,
|
|
921
950
|
autofocus: Optional[bool] = None,
|
|
922
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
923
|
-
on_animation_end: Optional[EventType[[]]] = None,
|
|
924
|
-
on_animation_start: Optional[EventType[[]]] = None,
|
|
925
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
926
|
-
on_click: Optional[EventType[[]]] = None,
|
|
927
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
928
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
929
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
930
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
931
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
932
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
933
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
934
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
935
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
936
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
937
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
938
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
939
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
951
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
952
|
+
on_animation_end: Optional[EventType[[], BASE_STATE]] = None,
|
|
953
|
+
on_animation_start: Optional[EventType[[], BASE_STATE]] = None,
|
|
954
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
955
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
956
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
957
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
958
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
959
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
960
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
961
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
962
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
963
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
964
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
965
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
966
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
967
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
968
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
940
969
|
**props,
|
|
941
970
|
) -> "Area":
|
|
942
971
|
"""Create the component.
|
|
@@ -965,6 +994,16 @@ class Area(Cartesian):
|
|
|
965
994
|
animation_easing: The type of easing function. Default: "ease"
|
|
966
995
|
unit: The unit of data. This option will be used in tooltip.
|
|
967
996
|
name: The name of data. This option will be used in tooltip and legend to represent the component. If no value was set to this option, the value of dataKey will be used alternatively.
|
|
997
|
+
on_animation_start: The customized event handler of animation start
|
|
998
|
+
on_animation_end: The customized event handler of animation end
|
|
999
|
+
on_click: The customized event handler of click on the component in this group
|
|
1000
|
+
on_mouse_down: The customized event handler of mousedown on the component in this group
|
|
1001
|
+
on_mouse_up: The customized event handler of mouseup on the component in this group
|
|
1002
|
+
on_mouse_move: The customized event handler of mousemove on the component in this group
|
|
1003
|
+
on_mouse_over: The customized event handler of mouseover on the component in this group
|
|
1004
|
+
on_mouse_out: The customized event handler of mouseout on the component in this group
|
|
1005
|
+
on_mouse_enter: The customized event handler of mouseenter on the component in this group
|
|
1006
|
+
on_mouse_leave: The customized event handler of mouseleave on the component in this group
|
|
968
1007
|
style: The style of the component.
|
|
969
1008
|
key: A unique key for the component.
|
|
970
1009
|
id: The id for the component.
|
|
@@ -1051,24 +1090,24 @@ class Bar(Cartesian):
|
|
|
1051
1090
|
id: Optional[Any] = None,
|
|
1052
1091
|
class_name: Optional[Any] = None,
|
|
1053
1092
|
autofocus: Optional[bool] = None,
|
|
1054
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
1055
|
-
on_animation_end: Optional[EventType[[]]] = None,
|
|
1056
|
-
on_animation_start: Optional[EventType[[]]] = None,
|
|
1057
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
1058
|
-
on_click: Optional[EventType[[]]] = None,
|
|
1059
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
1060
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
1061
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
1062
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
1063
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
1064
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
1065
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
1066
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
1067
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
1068
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
1069
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
1070
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
1071
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
1093
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
1094
|
+
on_animation_end: Optional[EventType[[], BASE_STATE]] = None,
|
|
1095
|
+
on_animation_start: Optional[EventType[[], BASE_STATE]] = None,
|
|
1096
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
1097
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1098
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
1099
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1100
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
1101
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1102
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
1103
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
1104
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
1105
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
1106
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
1107
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
1108
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
1109
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
1110
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1072
1111
|
**props,
|
|
1073
1112
|
) -> "Bar":
|
|
1074
1113
|
"""Create the component.
|
|
@@ -1096,6 +1135,16 @@ class Bar(Cartesian):
|
|
|
1096
1135
|
animation_begin: Specifies when the animation should begin, the unit of this option is ms. Default: 0
|
|
1097
1136
|
animation_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
|
|
1098
1137
|
animation_easing: The type of easing function. Default: "ease"
|
|
1138
|
+
on_animation_start: The customized event handler of animation start
|
|
1139
|
+
on_animation_end: The customized event handler of animation end
|
|
1140
|
+
on_click: The customized event handler of click on the component in this group
|
|
1141
|
+
on_mouse_down: The customized event handler of mousedown on the component in this group
|
|
1142
|
+
on_mouse_up: The customized event handler of mouseup on the component in this group
|
|
1143
|
+
on_mouse_move: The customized event handler of mousemove on the component in this group
|
|
1144
|
+
on_mouse_over: The customized event handler of mouseover on the component in this group
|
|
1145
|
+
on_mouse_out: The customized event handler of mouseout on the component in this group
|
|
1146
|
+
on_mouse_enter: The customized event handler of mouseenter on the component in this group
|
|
1147
|
+
on_mouse_leave: The customized event handler of mouseleave on the component in this group
|
|
1099
1148
|
style: The style of the component.
|
|
1100
1149
|
key: A unique key for the component.
|
|
1101
1150
|
id: The id for the component.
|
|
@@ -1225,24 +1274,24 @@ class Line(Cartesian):
|
|
|
1225
1274
|
id: Optional[Any] = None,
|
|
1226
1275
|
class_name: Optional[Any] = None,
|
|
1227
1276
|
autofocus: Optional[bool] = None,
|
|
1228
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
1229
|
-
on_animation_end: Optional[EventType[[]]] = None,
|
|
1230
|
-
on_animation_start: Optional[EventType[[]]] = None,
|
|
1231
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
1232
|
-
on_click: Optional[EventType[[]]] = None,
|
|
1233
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
1234
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
1235
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
1236
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
1237
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
1238
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
1239
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
1240
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
1241
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
1242
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
1243
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
1244
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
1245
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
1277
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
1278
|
+
on_animation_end: Optional[EventType[[], BASE_STATE]] = None,
|
|
1279
|
+
on_animation_start: Optional[EventType[[], BASE_STATE]] = None,
|
|
1280
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
1281
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1282
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
1283
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1284
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
1285
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1286
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
1287
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
1288
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
1289
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
1290
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
1291
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
1292
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
1293
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
1294
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1246
1295
|
**props,
|
|
1247
1296
|
) -> "Line":
|
|
1248
1297
|
"""Create the component.
|
|
@@ -1270,6 +1319,16 @@ class Line(Cartesian):
|
|
|
1270
1319
|
animation_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
|
|
1271
1320
|
animation_easing: The type of easing function. Default: "ease"
|
|
1272
1321
|
name: The name of data. This option will be used in tooltip and legend to represent the component. If no value was set to this option, the value of dataKey will be used alternatively.
|
|
1322
|
+
on_animation_start: The customized event handler of animation start
|
|
1323
|
+
on_animation_end: The customized event handler of animation end
|
|
1324
|
+
on_click: The customized event handler of click on the component in this group
|
|
1325
|
+
on_mouse_down: The customized event handler of mousedown on the component in this group
|
|
1326
|
+
on_mouse_up: The customized event handler of mouseup on the component in this group
|
|
1327
|
+
on_mouse_move: The customized event handler of mousemove on the component in this group
|
|
1328
|
+
on_mouse_over: The customized event handler of mouseover on the component in this group
|
|
1329
|
+
on_mouse_out: The customized event handler of mouseout on the component in this group
|
|
1330
|
+
on_mouse_enter: The customized event handler of mouseenter on the component in this group
|
|
1331
|
+
on_mouse_leave: The customized event handler of mouseleave on the component in this group
|
|
1273
1332
|
style: The style of the component.
|
|
1274
1333
|
key: A unique key for the component.
|
|
1275
1334
|
id: The id for the component.
|
|
@@ -1362,22 +1421,22 @@ class Scatter(Recharts):
|
|
|
1362
1421
|
id: Optional[Any] = None,
|
|
1363
1422
|
class_name: Optional[Any] = None,
|
|
1364
1423
|
autofocus: Optional[bool] = None,
|
|
1365
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
1366
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
1367
|
-
on_click: Optional[EventType[[]]] = None,
|
|
1368
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
1369
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
1370
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
1371
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
1372
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
1373
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
1374
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
1375
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
1376
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
1377
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
1378
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
1379
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
1380
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
1424
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
1425
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
1426
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1427
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
1428
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1429
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
1430
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1431
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
1432
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
1433
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
1434
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
1435
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
1436
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
1437
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
1438
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
1439
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1381
1440
|
**props,
|
|
1382
1441
|
) -> "Scatter":
|
|
1383
1442
|
"""Create the component.
|
|
@@ -1397,6 +1456,14 @@ class Scatter(Recharts):
|
|
|
1397
1456
|
animation_begin: Specifies when the animation should begin, the unit of this option is ms. Default: 0
|
|
1398
1457
|
animation_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
|
|
1399
1458
|
animation_easing: The type of easing function. Default: "ease"
|
|
1459
|
+
on_click: The customized event handler of click on the component in this group
|
|
1460
|
+
on_mouse_down: The customized event handler of mousedown on the component in this group
|
|
1461
|
+
on_mouse_up: The customized event handler of mouseup on the component in this group
|
|
1462
|
+
on_mouse_move: The customized event handler of mousemove on the component in this group
|
|
1463
|
+
on_mouse_over: The customized event handler of mouseover on the component in this group
|
|
1464
|
+
on_mouse_out: The customized event handler of mouseout on the component in this group
|
|
1465
|
+
on_mouse_enter: The customized event handler of mouseenter on the component in this group
|
|
1466
|
+
on_mouse_leave: The customized event handler of mouseleave on the component in this group
|
|
1400
1467
|
style: The style of the component.
|
|
1401
1468
|
key: A unique key for the component.
|
|
1402
1469
|
id: The id for the component.
|
|
@@ -1469,24 +1536,24 @@ class Funnel(Recharts):
|
|
|
1469
1536
|
id: Optional[Any] = None,
|
|
1470
1537
|
class_name: Optional[Any] = None,
|
|
1471
1538
|
autofocus: Optional[bool] = None,
|
|
1472
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
1473
|
-
on_animation_end: Optional[EventType[[]]] = None,
|
|
1474
|
-
on_animation_start: Optional[EventType[[]]] = None,
|
|
1475
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
1476
|
-
on_click: Optional[EventType[[]]] = None,
|
|
1477
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
1478
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
1479
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
1480
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
1481
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
1482
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
1483
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
1484
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
1485
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
1486
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
1487
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
1488
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
1489
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
1539
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
1540
|
+
on_animation_end: Optional[EventType[[], BASE_STATE]] = None,
|
|
1541
|
+
on_animation_start: Optional[EventType[[], BASE_STATE]] = None,
|
|
1542
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
1543
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1544
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
1545
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1546
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
1547
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1548
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
1549
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
1550
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
1551
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
1552
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
1553
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
1554
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
1555
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
1556
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1490
1557
|
**props,
|
|
1491
1558
|
) -> "Funnel":
|
|
1492
1559
|
"""Create the component.
|
|
@@ -1503,6 +1570,16 @@ class Funnel(Recharts):
|
|
|
1503
1570
|
animation_easing: The type of easing function. 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear'. Default "ease"
|
|
1504
1571
|
stroke: Stroke color. Default: rx.color("gray", 3)
|
|
1505
1572
|
trapezoids: The coordinates of all the trapezoids in the funnel, usually calculated internally.
|
|
1573
|
+
on_animation_start: The customized event handler of animation start
|
|
1574
|
+
on_animation_end: The customized event handler of animation end
|
|
1575
|
+
on_click: The customized event handler of click on the component in this group
|
|
1576
|
+
on_mouse_down: The customized event handler of mousedown on the component in this group
|
|
1577
|
+
on_mouse_up: The customized event handler of mouseup on the component in this group
|
|
1578
|
+
on_mouse_move: The customized event handler of mousemove on the component in this group
|
|
1579
|
+
on_mouse_over: The customized event handler of mouseover on the component in this group
|
|
1580
|
+
on_mouse_out: The customized event handler of mouseout on the component in this group
|
|
1581
|
+
on_mouse_enter: The customized event handler of mouseenter on the component in this group
|
|
1582
|
+
on_mouse_leave: The customized event handler of mouseleave on the component in this group
|
|
1506
1583
|
style: The style of the component.
|
|
1507
1584
|
key: A unique key for the component.
|
|
1508
1585
|
id: The id for the component.
|
|
@@ -1532,22 +1609,22 @@ class ErrorBar(Recharts):
|
|
|
1532
1609
|
id: Optional[Any] = None,
|
|
1533
1610
|
class_name: Optional[Any] = None,
|
|
1534
1611
|
autofocus: Optional[bool] = None,
|
|
1535
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
1536
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
1537
|
-
on_click: Optional[EventType[[]]] = None,
|
|
1538
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
1539
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
1540
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
1541
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
1542
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
1543
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
1544
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
1545
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
1546
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
1547
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
1548
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
1549
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
1550
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
1612
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
1613
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
1614
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1615
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
1616
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1617
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
1618
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1619
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
1620
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
1621
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
1622
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
1623
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
1624
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
1625
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
1626
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
1627
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1551
1628
|
**props,
|
|
1552
1629
|
) -> "ErrorBar":
|
|
1553
1630
|
"""Create the component.
|
|
@@ -1593,22 +1670,22 @@ class Reference(Recharts):
|
|
|
1593
1670
|
id: Optional[Any] = None,
|
|
1594
1671
|
class_name: Optional[Any] = None,
|
|
1595
1672
|
autofocus: Optional[bool] = None,
|
|
1596
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
1597
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
1598
|
-
on_click: Optional[EventType[[]]] = None,
|
|
1599
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
1600
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
1601
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
1602
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
1603
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
1604
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
1605
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
1606
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
1607
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
1608
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
1609
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
1610
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
1611
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
1673
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
1674
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
1675
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1676
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
1677
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1678
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
1679
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1680
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
1681
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
1682
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
1683
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
1684
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
1685
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
1686
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
1687
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
1688
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1612
1689
|
**props,
|
|
1613
1690
|
) -> "Reference":
|
|
1614
1691
|
"""Create the component.
|
|
@@ -1659,22 +1736,22 @@ class ReferenceLine(Reference):
|
|
|
1659
1736
|
id: Optional[Any] = None,
|
|
1660
1737
|
class_name: Optional[Any] = None,
|
|
1661
1738
|
autofocus: Optional[bool] = None,
|
|
1662
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
1663
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
1664
|
-
on_click: Optional[EventType[[]]] = None,
|
|
1665
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
1666
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
1667
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
1668
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
1669
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
1670
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
1671
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
1672
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
1673
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
1674
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
1675
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
1676
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
1677
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
1739
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
1740
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
1741
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1742
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
1743
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1744
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
1745
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1746
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
1747
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
1748
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
1749
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
1750
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
1751
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
1752
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
1753
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
1754
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1678
1755
|
**props,
|
|
1679
1756
|
) -> "ReferenceLine":
|
|
1680
1757
|
"""Create the component.
|
|
@@ -1730,22 +1807,22 @@ class ReferenceDot(Reference):
|
|
|
1730
1807
|
id: Optional[Any] = None,
|
|
1731
1808
|
class_name: Optional[Any] = None,
|
|
1732
1809
|
autofocus: Optional[bool] = None,
|
|
1733
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
1734
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
1735
|
-
on_click: Optional[EventType[[]]] = None,
|
|
1736
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
1737
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
1738
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
1739
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
1740
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
1741
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
1742
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
1743
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
1744
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
1745
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
1746
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
1747
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
1748
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
1810
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
1811
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
1812
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1813
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
1814
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1815
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
1816
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1817
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
1818
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
1819
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
1820
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
1821
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
1822
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
1823
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
1824
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
1825
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1749
1826
|
**props,
|
|
1750
1827
|
) -> "ReferenceDot":
|
|
1751
1828
|
"""Create the component.
|
|
@@ -1757,6 +1834,14 @@ class ReferenceDot(Reference):
|
|
|
1757
1834
|
r: The radius of dot.
|
|
1758
1835
|
fill: The color of the area fill.
|
|
1759
1836
|
stroke: The color of the line stroke.
|
|
1837
|
+
on_click: The customized event handler of click on the component in this chart
|
|
1838
|
+
on_mouse_down: The customized event handler of mousedown on the component in this chart
|
|
1839
|
+
on_mouse_up: The customized event handler of mouseup on the component in this chart
|
|
1840
|
+
on_mouse_over: The customized event handler of mouseover on the component in this chart
|
|
1841
|
+
on_mouse_out: The customized event handler of mouseout on the component in this chart
|
|
1842
|
+
on_mouse_enter: The customized event handler of mouseenter on the component in this chart
|
|
1843
|
+
on_mouse_move: The customized event handler of mousemove on the component in this chart
|
|
1844
|
+
on_mouse_leave: The customized event handler of mouseleave on the component in this chart
|
|
1760
1845
|
x_axis_id: The id of x-axis which is corresponding to the data. Default: 0
|
|
1761
1846
|
y_axis_id: The id of y-axis which is corresponding to the data. Default: 0
|
|
1762
1847
|
if_overflow: Defines how to draw the reference line if it falls partly outside the canvas. If set to 'discard', the reference line will not be drawn at all. If set to 'hidden', the reference line will be clipped to the canvas. If set to 'visible', the reference line will be drawn completely. If set to 'extendDomain', the domain of the overflown axis will be extended such that the reference line fits into the canvas. Default: "discard"
|
|
@@ -1802,22 +1887,22 @@ class ReferenceArea(Recharts):
|
|
|
1802
1887
|
id: Optional[Any] = None,
|
|
1803
1888
|
class_name: Optional[Any] = None,
|
|
1804
1889
|
autofocus: Optional[bool] = None,
|
|
1805
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
1806
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
1807
|
-
on_click: Optional[EventType[[]]] = None,
|
|
1808
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
1809
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
1810
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
1811
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
1812
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
1813
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
1814
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
1815
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
1816
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
1817
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
1818
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
1819
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
1820
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
1890
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
1891
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
1892
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1893
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
1894
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1895
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
1896
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1897
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
1898
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
1899
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
1900
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
1901
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
1902
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
1903
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
1904
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
1905
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1821
1906
|
**props,
|
|
1822
1907
|
) -> "ReferenceArea":
|
|
1823
1908
|
"""Create the component.
|
|
@@ -1863,22 +1948,22 @@ class Grid(Recharts):
|
|
|
1863
1948
|
id: Optional[Any] = None,
|
|
1864
1949
|
class_name: Optional[Any] = None,
|
|
1865
1950
|
autofocus: Optional[bool] = None,
|
|
1866
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
1867
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
1868
|
-
on_click: Optional[EventType[[]]] = None,
|
|
1869
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
1870
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
1871
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
1872
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
1873
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
1874
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
1875
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
1876
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
1877
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
1878
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
1879
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
1880
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
1881
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
1951
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
1952
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
1953
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1954
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
1955
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
1956
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
1957
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1958
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
1959
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
1960
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
1961
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
1962
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
1963
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
1964
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
1965
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
1966
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1882
1967
|
**props,
|
|
1883
1968
|
) -> "Grid":
|
|
1884
1969
|
"""Create the component.
|
|
@@ -1929,22 +2014,22 @@ class CartesianGrid(Grid):
|
|
|
1929
2014
|
id: Optional[Any] = None,
|
|
1930
2015
|
class_name: Optional[Any] = None,
|
|
1931
2016
|
autofocus: Optional[bool] = None,
|
|
1932
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
1933
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
1934
|
-
on_click: Optional[EventType[[]]] = None,
|
|
1935
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
1936
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
1937
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
1938
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
1939
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
1940
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
1941
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
1942
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
1943
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
1944
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
1945
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
1946
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
1947
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
2017
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
2018
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
2019
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
2020
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
2021
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
2022
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
2023
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
2024
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
2025
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
2026
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
2027
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
2028
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
2029
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
2030
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
2031
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
2032
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
1948
2033
|
**props,
|
|
1949
2034
|
) -> "CartesianGrid":
|
|
1950
2035
|
"""Create the component.
|
|
@@ -2011,22 +2096,22 @@ class CartesianAxis(Grid):
|
|
|
2011
2096
|
id: Optional[Any] = None,
|
|
2012
2097
|
class_name: Optional[Any] = None,
|
|
2013
2098
|
autofocus: Optional[bool] = None,
|
|
2014
|
-
custom_attrs: Optional[Dict[str, Union[Var,
|
|
2015
|
-
on_blur: Optional[EventType[[]]] = None,
|
|
2016
|
-
on_click: Optional[EventType[[]]] = None,
|
|
2017
|
-
on_context_menu: Optional[EventType[[]]] = None,
|
|
2018
|
-
on_double_click: Optional[EventType[[]]] = None,
|
|
2019
|
-
on_focus: Optional[EventType[[]]] = None,
|
|
2020
|
-
on_mount: Optional[EventType[[]]] = None,
|
|
2021
|
-
on_mouse_down: Optional[EventType[[]]] = None,
|
|
2022
|
-
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
2023
|
-
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
2024
|
-
on_mouse_move: Optional[EventType[[]]] = None,
|
|
2025
|
-
on_mouse_out: Optional[EventType[[]]] = None,
|
|
2026
|
-
on_mouse_over: Optional[EventType[[]]] = None,
|
|
2027
|
-
on_mouse_up: Optional[EventType[[]]] = None,
|
|
2028
|
-
on_scroll: Optional[EventType[[]]] = None,
|
|
2029
|
-
on_unmount: Optional[EventType[[]]] = None,
|
|
2099
|
+
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
2100
|
+
on_blur: Optional[EventType[[], BASE_STATE]] = None,
|
|
2101
|
+
on_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
2102
|
+
on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
|
|
2103
|
+
on_double_click: Optional[EventType[[], BASE_STATE]] = None,
|
|
2104
|
+
on_focus: Optional[EventType[[], BASE_STATE]] = None,
|
|
2105
|
+
on_mount: Optional[EventType[[], BASE_STATE]] = None,
|
|
2106
|
+
on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
|
|
2107
|
+
on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
|
|
2108
|
+
on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
|
|
2109
|
+
on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
|
|
2110
|
+
on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
|
|
2111
|
+
on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
|
|
2112
|
+
on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
|
|
2113
|
+
on_scroll: Optional[EventType[[], BASE_STATE]] = None,
|
|
2114
|
+
on_unmount: Optional[EventType[[], BASE_STATE]] = None,
|
|
2030
2115
|
**props,
|
|
2031
2116
|
) -> "CartesianAxis":
|
|
2032
2117
|
"""Create the component.
|