reflex 0.6.2.post1__py3-none-any.whl → 0.6.3a1__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/__init__.py +3 -2
- reflex/__init__.pyi +3 -1
- reflex/components/base/app_wrap.pyi +17 -37
- reflex/components/base/body.pyi +17 -37
- reflex/components/base/document.pyi +77 -177
- reflex/components/base/error_boundary.pyi +18 -38
- reflex/components/base/fragment.pyi +17 -37
- reflex/components/base/head.pyi +32 -72
- reflex/components/base/link.pyi +32 -72
- reflex/components/base/meta.pyi +62 -142
- reflex/components/base/script.py +4 -4
- reflex/components/base/script.pyi +20 -40
- reflex/components/component.py +12 -2
- reflex/components/core/banner.pyi +77 -177
- reflex/components/core/client_side_routing.pyi +32 -72
- reflex/components/core/clipboard.py +3 -3
- reflex/components/core/clipboard.pyi +18 -38
- reflex/components/core/debounce.py +2 -2
- reflex/components/core/debounce.pyi +18 -38
- reflex/components/core/html.pyi +17 -37
- reflex/components/core/upload.py +4 -5
- reflex/components/core/upload.pyi +65 -145
- reflex/components/datadisplay/code.pyi +32 -72
- reflex/components/datadisplay/dataeditor.py +13 -13
- reflex/components/datadisplay/dataeditor.pyi +33 -83
- reflex/components/dynamic.py +6 -7
- reflex/components/el/__init__.pyi +1 -0
- reflex/components/el/element.pyi +17 -37
- reflex/components/el/elements/base.pyi +17 -37
- reflex/components/el/elements/forms.py +29 -14
- reflex/components/el/elements/forms.pyi +222 -504
- reflex/components/el/elements/inline.pyi +422 -982
- reflex/components/el/elements/media.pyi +377 -877
- reflex/components/el/elements/metadata.pyi +92 -212
- reflex/components/el/elements/other.pyi +107 -247
- reflex/components/el/elements/scripts.pyi +47 -107
- reflex/components/el/elements/sectioning.pyi +227 -527
- reflex/components/el/elements/tables.pyi +152 -352
- reflex/components/el/elements/typography.pyi +227 -527
- reflex/components/gridjs/datatable.py +2 -2
- reflex/components/gridjs/datatable.pyi +32 -72
- reflex/components/lucide/icon.pyi +32 -72
- reflex/components/markdown/markdown.pyi +16 -36
- reflex/components/moment/moment.py +2 -2
- reflex/components/moment/moment.pyi +18 -38
- reflex/components/next/base.pyi +17 -37
- reflex/components/next/image.py +3 -3
- reflex/components/next/image.pyi +19 -39
- reflex/components/next/link.pyi +17 -37
- reflex/components/next/video.pyi +17 -37
- reflex/components/plotly/plotly.py +1 -1
- reflex/components/plotly/plotly.pyi +35 -87
- reflex/components/radix/primitives/accordion.py +14 -2
- reflex/components/radix/primitives/accordion.pyi +110 -250
- reflex/components/radix/primitives/base.pyi +32 -72
- reflex/components/radix/primitives/drawer.py +30 -12
- reflex/components/radix/primitives/drawer.pyi +159 -373
- reflex/components/radix/primitives/form.py +3 -3
- reflex/components/radix/primitives/form.pyi +158 -364
- reflex/components/radix/primitives/progress.pyi +77 -177
- reflex/components/radix/primitives/slider.py +17 -3
- reflex/components/radix/primitives/slider.pyi +81 -183
- reflex/components/radix/themes/base.pyi +107 -247
- reflex/components/radix/themes/color_mode.pyi +48 -117
- reflex/components/radix/themes/components/alert_dialog.py +5 -5
- reflex/components/radix/themes/components/alert_dialog.pyi +111 -259
- reflex/components/radix/themes/components/aspect_ratio.pyi +17 -37
- reflex/components/radix/themes/components/avatar.pyi +17 -37
- reflex/components/radix/themes/components/badge.pyi +17 -37
- reflex/components/radix/themes/components/button.pyi +17 -37
- reflex/components/radix/themes/components/callout.pyi +77 -177
- reflex/components/radix/themes/components/card.pyi +17 -37
- reflex/components/radix/themes/components/checkbox.py +3 -3
- reflex/components/radix/themes/components/checkbox.pyi +50 -110
- reflex/components/radix/themes/components/checkbox_cards.pyi +32 -72
- reflex/components/radix/themes/components/checkbox_group.pyi +32 -72
- reflex/components/radix/themes/components/context_menu.py +11 -11
- reflex/components/radix/themes/components/context_menu.pyi +132 -312
- reflex/components/radix/themes/components/data_list.pyi +62 -142
- reflex/components/radix/themes/components/dialog.py +7 -7
- reflex/components/radix/themes/components/dialog.pyi +114 -268
- reflex/components/radix/themes/components/dropdown_menu.py +13 -13
- reflex/components/radix/themes/components/dropdown_menu.pyi +134 -316
- reflex/components/radix/themes/components/hover_card.py +2 -2
- reflex/components/radix/themes/components/hover_card.pyi +64 -148
- reflex/components/radix/themes/components/icon_button.pyi +17 -37
- reflex/components/radix/themes/components/inset.pyi +17 -37
- reflex/components/radix/themes/components/popover.py +8 -8
- reflex/components/radix/themes/components/popover.pyi +69 -163
- reflex/components/radix/themes/components/progress.pyi +17 -37
- reflex/components/radix/themes/components/radio.pyi +17 -37
- reflex/components/radix/themes/components/radio_cards.py +2 -2
- reflex/components/radix/themes/components/radio_cards.pyi +33 -75
- reflex/components/radix/themes/components/radio_group.py +4 -4
- reflex/components/radix/themes/components/radio_group.pyi +63 -143
- reflex/components/radix/themes/components/scroll_area.pyi +17 -37
- reflex/components/radix/themes/components/segmented_control.py +14 -2
- reflex/components/radix/themes/components/segmented_control.pyi +35 -73
- reflex/components/radix/themes/components/select.py +6 -5
- reflex/components/radix/themes/components/select.pyi +146 -338
- reflex/components/radix/themes/components/separator.pyi +17 -37
- reflex/components/radix/themes/components/skeleton.pyi +17 -37
- reflex/components/radix/themes/components/slider.py +19 -3
- reflex/components/radix/themes/components/slider.pyi +23 -41
- reflex/components/radix/themes/components/spinner.pyi +17 -37
- reflex/components/radix/themes/components/switch.py +2 -2
- reflex/components/radix/themes/components/switch.pyi +18 -38
- reflex/components/radix/themes/components/table.pyi +107 -247
- reflex/components/radix/themes/components/tabs.py +2 -2
- reflex/components/radix/themes/components/tabs.pyi +79 -179
- reflex/components/radix/themes/components/text_area.py +0 -16
- reflex/components/radix/themes/components/text_area.pyi +20 -42
- reflex/components/radix/themes/components/text_field.py +6 -6
- reflex/components/radix/themes/components/text_field.pyi +53 -117
- reflex/components/radix/themes/components/tooltip.py +4 -4
- reflex/components/radix/themes/components/tooltip.pyi +20 -46
- reflex/components/radix/themes/layout/base.pyi +17 -37
- reflex/components/radix/themes/layout/box.pyi +17 -37
- reflex/components/radix/themes/layout/center.pyi +17 -37
- reflex/components/radix/themes/layout/container.pyi +17 -37
- reflex/components/radix/themes/layout/flex.pyi +17 -37
- reflex/components/radix/themes/layout/grid.pyi +17 -37
- reflex/components/radix/themes/layout/list.pyi +77 -177
- reflex/components/radix/themes/layout/section.pyi +17 -37
- reflex/components/radix/themes/layout/spacer.pyi +17 -37
- reflex/components/radix/themes/layout/stack.pyi +47 -107
- reflex/components/radix/themes/typography/blockquote.pyi +17 -37
- reflex/components/radix/themes/typography/code.pyi +17 -37
- reflex/components/radix/themes/typography/heading.pyi +17 -37
- reflex/components/radix/themes/typography/link.pyi +17 -37
- reflex/components/radix/themes/typography/text.pyi +107 -247
- reflex/components/react_player/audio.pyi +33 -69
- reflex/components/react_player/react_player.py +17 -17
- reflex/components/react_player/react_player.pyi +33 -69
- reflex/components/react_player/video.pyi +33 -69
- reflex/components/recharts/cartesian.py +215 -185
- reflex/components/recharts/cartesian.pyi +623 -832
- reflex/components/recharts/charts.py +57 -54
- reflex/components/recharts/charts.pyi +213 -433
- reflex/components/recharts/general.py +27 -21
- reflex/components/recharts/general.pyi +94 -189
- reflex/components/recharts/polar.py +115 -77
- reflex/components/recharts/polar.pyi +219 -229
- reflex/components/recharts/recharts.py +5 -1
- reflex/components/recharts/recharts.pyi +37 -73
- reflex/components/sonner/toast.py +1 -1
- reflex/components/sonner/toast.pyi +17 -37
- reflex/components/suneditor/editor.pyi +26 -52
- reflex/components/tags/iter_tag.py +2 -2
- reflex/config.py +16 -0
- reflex/constants/__init__.py +2 -0
- reflex/constants/compiler.py +25 -0
- reflex/constants/installer.py +17 -16
- reflex/constants/state.py +11 -0
- reflex/constants/style.py +1 -1
- reflex/event.py +237 -18
- reflex/experimental/layout.pyi +78 -180
- reflex/istate/dynamic.py +3 -0
- reflex/state.py +195 -118
- reflex/testing.py +8 -5
- reflex/utils/compat.py +1 -3
- reflex/utils/exceptions.py +8 -0
- reflex/utils/path_ops.py +2 -2
- reflex/utils/prerequisites.py +2 -2
- reflex/utils/pyi_generator.py +44 -4
- reflex/utils/registry.py +17 -3
- reflex/utils/telemetry.py +1 -3
- reflex/utils/types.py +60 -16
- reflex/vars/__init__.py +2 -0
- reflex/vars/base.py +127 -72
- reflex/vars/object.py +5 -1
- reflex/vars/sequence.py +10 -1
- {reflex-0.6.2.post1.dist-info → reflex-0.6.3a1.dist-info}/METADATA +3 -3
- {reflex-0.6.2.post1.dist-info → reflex-0.6.3a1.dist-info}/RECORD +177 -175
- {reflex-0.6.2.post1.dist-info → reflex-0.6.3a1.dist-info}/LICENSE +0 -0
- {reflex-0.6.2.post1.dist-info → reflex-0.6.3a1.dist-info}/WHEEL +0 -0
- {reflex-0.6.2.post1.dist-info → reflex-0.6.3a1.dist-info}/entry_points.txt +0 -0
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
-
from typing import Any,
|
|
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
|
|
9
|
+
from reflex.event import EventType
|
|
10
10
|
from reflex.style import Style
|
|
11
11
|
from reflex.vars.base import Var
|
|
12
12
|
|
|
@@ -68,50 +68,57 @@ class Pie(Recharts):
|
|
|
68
68
|
label_line: Optional[Union[Var[bool], bool]] = None,
|
|
69
69
|
stroke: Optional[Union[Color, Var[Union[Color, str]], str]] = None,
|
|
70
70
|
fill: Optional[Union[Color, Var[Union[Color, str]], str]] = None,
|
|
71
|
+
is_animation_active: Optional[Union[Var[bool], bool]] = None,
|
|
72
|
+
animation_begin: Optional[Union[Var[int], int]] = None,
|
|
73
|
+
animation_duration: Optional[Union[Var[int], int]] = None,
|
|
74
|
+
animation_easing: Optional[
|
|
75
|
+
Union[
|
|
76
|
+
Literal["ease", "ease-in", "ease-in-out", "ease-out", "linear"],
|
|
77
|
+
Var[Literal["ease", "ease-in", "ease-in-out", "ease-out", "linear"]],
|
|
78
|
+
]
|
|
79
|
+
] = None,
|
|
80
|
+
root_tab_index: Optional[Union[Var[int], int]] = None,
|
|
71
81
|
style: Optional[Style] = None,
|
|
72
82
|
key: Optional[Any] = None,
|
|
73
83
|
id: Optional[Any] = None,
|
|
74
84
|
class_name: Optional[Any] = None,
|
|
75
85
|
autofocus: Optional[bool] = None,
|
|
76
86
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
] = None,
|
|
81
|
-
on_mouse_leave: Optional[
|
|
82
|
-
|
|
83
|
-
] = None,
|
|
84
|
-
|
|
85
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
86
|
-
] = None,
|
|
87
|
-
on_mouse_out: Optional[
|
|
88
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
89
|
-
] = None,
|
|
90
|
-
on_mouse_over: Optional[
|
|
91
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
92
|
-
] = None,
|
|
87
|
+
on_animation_end: Optional[EventType[[]]] = None,
|
|
88
|
+
on_animation_start: Optional[EventType[[]]] = None,
|
|
89
|
+
on_click: Optional[EventType[[]]] = None,
|
|
90
|
+
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
91
|
+
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
92
|
+
on_mouse_move: Optional[EventType[[]]] = None,
|
|
93
|
+
on_mouse_out: Optional[EventType[[]]] = None,
|
|
94
|
+
on_mouse_over: Optional[EventType[[]]] = None,
|
|
93
95
|
**props,
|
|
94
96
|
) -> "Pie":
|
|
95
97
|
"""Create the component.
|
|
96
98
|
|
|
97
99
|
Args:
|
|
98
100
|
*children: The children of the component.
|
|
99
|
-
data:
|
|
101
|
+
data: The index of active sector in Pie, this option can be changed in mouse event handlers.
|
|
100
102
|
data_key: The key of each sector's value.
|
|
101
|
-
cx: The x-coordinate of center. If set a percentage, the final value is obtained by multiplying the percentage of container width.
|
|
102
|
-
cy: The y-coordinate of center. If set a percentage, the final value is obtained by multiplying the percentage of container height.
|
|
103
|
-
inner_radius: The inner radius of pie, which can be set to a percent value.
|
|
104
|
-
outer_radius: The outer radius of pie, which can be set to a percent value.
|
|
105
|
-
start_angle: The angle of first sector.
|
|
106
|
-
end_angle: The
|
|
107
|
-
min_angle: The minimum angle of each unzero data.
|
|
108
|
-
padding_angle: The angle between two sectors.
|
|
109
|
-
name_key: The key of each sector's name.
|
|
110
|
-
legend_type: The type of icon in legend. If set to 'none', no legend item will be rendered.
|
|
111
|
-
label: If false set, labels will not be drawn.
|
|
112
|
-
label_line: If false set, label lines will not be drawn.
|
|
113
|
-
stroke: Stoke color
|
|
114
|
-
fill: Fill color
|
|
103
|
+
cx: The x-coordinate of center. If set a percentage, the final value is obtained by multiplying the percentage of container width. Default: "50%"
|
|
104
|
+
cy: The y-coordinate of center. If set a percentage, the final value is obtained by multiplying the percentage of container height. Default: "50%"
|
|
105
|
+
inner_radius: The inner radius of pie, which can be set to a percent value. Default: 0
|
|
106
|
+
outer_radius: The outer radius of pie, which can be set to a percent value. Default: "80%"
|
|
107
|
+
start_angle: The angle of first sector. Default: 0
|
|
108
|
+
end_angle: The end angle of last sector, which should be unequal to start_angle. Default: 360
|
|
109
|
+
min_angle: The minimum angle of each unzero data. Default: 0
|
|
110
|
+
padding_angle: The angle between two sectors. Default: 0
|
|
111
|
+
name_key: The key of each sector's name. Default: "name"
|
|
112
|
+
legend_type: The type of icon in legend. If set to 'none', no legend item will be rendered. Default: "rect"
|
|
113
|
+
label: If false set, labels will not be drawn. If true set, labels will be drawn which have the props calculated internally. Default: False
|
|
114
|
+
label_line: If false set, label lines will not be drawn. If true set, label lines will be drawn which have the props calculated internally. Default: False
|
|
115
|
+
stroke: Stoke color. Default: rx.color("accent", 9)
|
|
116
|
+
fill: Fill color. Default: rx.color("accent", 3)
|
|
117
|
+
is_animation_active: If set false, animation of tooltip will be disabled. Default: true in CSR, and false in SSR
|
|
118
|
+
animation_begin: Specifies when the animation should begin, the unit of this option is ms. Default: 400
|
|
119
|
+
animation_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
|
|
120
|
+
animation_easing: The type of easing function. Default: "ease"
|
|
121
|
+
root_tab_index: The tabindex of wrapper surrounding the cells. Default: 0
|
|
115
122
|
style: The style of the component.
|
|
116
123
|
key: A unique key for the component.
|
|
117
124
|
id: The id for the component.
|
|
@@ -126,6 +133,7 @@ class Pie(Recharts):
|
|
|
126
133
|
...
|
|
127
134
|
|
|
128
135
|
class Radar(Recharts):
|
|
136
|
+
def get_event_triggers(self) -> dict[str, Union[Var, Any]]: ...
|
|
129
137
|
@overload
|
|
130
138
|
@classmethod
|
|
131
139
|
def create( # type: ignore
|
|
@@ -137,8 +145,40 @@ class Radar(Recharts):
|
|
|
137
145
|
stroke: Optional[Union[Color, Var[Union[Color, str]], str]] = None,
|
|
138
146
|
fill: Optional[Union[Var[str], str]] = None,
|
|
139
147
|
fill_opacity: Optional[Union[Var[float], float]] = None,
|
|
140
|
-
legend_type: Optional[
|
|
148
|
+
legend_type: Optional[
|
|
149
|
+
Union[
|
|
150
|
+
Literal[
|
|
151
|
+
"circle",
|
|
152
|
+
"cross",
|
|
153
|
+
"diamond",
|
|
154
|
+
"line",
|
|
155
|
+
"none",
|
|
156
|
+
"plainline",
|
|
157
|
+
"rect",
|
|
158
|
+
"square",
|
|
159
|
+
"star",
|
|
160
|
+
"triangle",
|
|
161
|
+
"wye",
|
|
162
|
+
],
|
|
163
|
+
Var[
|
|
164
|
+
Literal[
|
|
165
|
+
"circle",
|
|
166
|
+
"cross",
|
|
167
|
+
"diamond",
|
|
168
|
+
"line",
|
|
169
|
+
"none",
|
|
170
|
+
"plainline",
|
|
171
|
+
"rect",
|
|
172
|
+
"square",
|
|
173
|
+
"star",
|
|
174
|
+
"triangle",
|
|
175
|
+
"wye",
|
|
176
|
+
]
|
|
177
|
+
],
|
|
178
|
+
]
|
|
179
|
+
] = None,
|
|
141
180
|
label: Optional[Union[Var[bool], bool]] = None,
|
|
181
|
+
is_animation_active: Optional[Union[Var[bool], bool]] = None,
|
|
142
182
|
animation_begin: Optional[Union[Var[int], int]] = None,
|
|
143
183
|
animation_duration: Optional[Union[Var[int], int]] = None,
|
|
144
184
|
animation_easing: Optional[
|
|
@@ -153,41 +193,8 @@ class Radar(Recharts):
|
|
|
153
193
|
class_name: Optional[Any] = None,
|
|
154
194
|
autofocus: Optional[bool] = None,
|
|
155
195
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
on_context_menu: Optional[
|
|
159
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
160
|
-
] = None,
|
|
161
|
-
on_double_click: Optional[
|
|
162
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
163
|
-
] = None,
|
|
164
|
-
on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
165
|
-
on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
166
|
-
on_mouse_down: Optional[
|
|
167
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
168
|
-
] = None,
|
|
169
|
-
on_mouse_enter: Optional[
|
|
170
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
171
|
-
] = None,
|
|
172
|
-
on_mouse_leave: Optional[
|
|
173
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
174
|
-
] = None,
|
|
175
|
-
on_mouse_move: Optional[
|
|
176
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
177
|
-
] = None,
|
|
178
|
-
on_mouse_out: Optional[
|
|
179
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
180
|
-
] = None,
|
|
181
|
-
on_mouse_over: Optional[
|
|
182
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
183
|
-
] = None,
|
|
184
|
-
on_mouse_up: Optional[
|
|
185
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
186
|
-
] = None,
|
|
187
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
188
|
-
on_unmount: Optional[
|
|
189
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
190
|
-
] = None,
|
|
196
|
+
on_animation_end: Optional[EventType[[]]] = None,
|
|
197
|
+
on_animation_start: Optional[EventType[[]]] = None,
|
|
191
198
|
**props,
|
|
192
199
|
) -> "Radar":
|
|
193
200
|
"""Create the component.
|
|
@@ -196,15 +203,16 @@ class Radar(Recharts):
|
|
|
196
203
|
*children: The children of the component.
|
|
197
204
|
data_key: The key of a group of data which should be unique in a radar chart.
|
|
198
205
|
points: The coordinates of all the vertexes of the radar shape, like [{ x, y }].
|
|
199
|
-
dot: If false set, dots will not be drawn
|
|
200
|
-
stroke: Stoke color
|
|
201
|
-
fill: Fill color
|
|
202
|
-
fill_opacity: opacity
|
|
203
|
-
legend_type: The type of icon in legend. If set to 'none', no legend item will be rendered.
|
|
204
|
-
label: If false set, labels will not be drawn
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
dot: If false set, dots will not be drawn. Default: True
|
|
207
|
+
stroke: Stoke color. Default: rx.color("accent", 9)
|
|
208
|
+
fill: Fill color. Default: rx.color("accent", 3)
|
|
209
|
+
fill_opacity: opacity. Default: 0.6
|
|
210
|
+
legend_type: The type of icon in legend. If set to 'none', no legend item will be rendered. Default: "rect"
|
|
211
|
+
label: If false set, labels will not be drawn. Default: True
|
|
212
|
+
is_animation_active: If set false, animation of polygon will be disabled. Default: True in CSR, and False in SSR
|
|
213
|
+
animation_begin: Specifies when the animation should begin, the unit of this option is ms. Default: 0
|
|
214
|
+
animation_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
|
|
215
|
+
animation_easing: The type of easing function. 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear'. Default: "ease"
|
|
208
216
|
style: The style of the component.
|
|
209
217
|
key: A unique key for the component.
|
|
210
218
|
id: The id for the component.
|
|
@@ -225,9 +233,41 @@ class RadialBar(Recharts):
|
|
|
225
233
|
def create( # type: ignore
|
|
226
234
|
cls,
|
|
227
235
|
*children,
|
|
236
|
+
data: Optional[Union[List[Dict[str, Any]], Var[List[Dict[str, Any]]]]] = None,
|
|
228
237
|
data_key: Optional[Union[Var[Union[int, str]], int, str]] = None,
|
|
229
238
|
min_angle: Optional[Union[Var[int], int]] = None,
|
|
230
|
-
legend_type: Optional[
|
|
239
|
+
legend_type: Optional[
|
|
240
|
+
Union[
|
|
241
|
+
Literal[
|
|
242
|
+
"circle",
|
|
243
|
+
"cross",
|
|
244
|
+
"diamond",
|
|
245
|
+
"line",
|
|
246
|
+
"none",
|
|
247
|
+
"plainline",
|
|
248
|
+
"rect",
|
|
249
|
+
"square",
|
|
250
|
+
"star",
|
|
251
|
+
"triangle",
|
|
252
|
+
"wye",
|
|
253
|
+
],
|
|
254
|
+
Var[
|
|
255
|
+
Literal[
|
|
256
|
+
"circle",
|
|
257
|
+
"cross",
|
|
258
|
+
"diamond",
|
|
259
|
+
"line",
|
|
260
|
+
"none",
|
|
261
|
+
"plainline",
|
|
262
|
+
"rect",
|
|
263
|
+
"square",
|
|
264
|
+
"star",
|
|
265
|
+
"triangle",
|
|
266
|
+
"wye",
|
|
267
|
+
]
|
|
268
|
+
],
|
|
269
|
+
]
|
|
270
|
+
] = None,
|
|
231
271
|
label: Optional[
|
|
232
272
|
Union[Dict[str, Any], Var[Union[Dict[str, Any], bool]], bool]
|
|
233
273
|
] = None,
|
|
@@ -249,43 +289,30 @@ class RadialBar(Recharts):
|
|
|
249
289
|
class_name: Optional[Any] = None,
|
|
250
290
|
autofocus: Optional[bool] = None,
|
|
251
291
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
252
|
-
on_animation_end: Optional[
|
|
253
|
-
|
|
254
|
-
] = None,
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
] = None,
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
261
|
-
] = None,
|
|
262
|
-
on_mouse_leave: Optional[
|
|
263
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
264
|
-
] = None,
|
|
265
|
-
on_mouse_move: Optional[
|
|
266
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
267
|
-
] = None,
|
|
268
|
-
on_mouse_out: Optional[
|
|
269
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
270
|
-
] = None,
|
|
271
|
-
on_mouse_over: Optional[
|
|
272
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
273
|
-
] = None,
|
|
292
|
+
on_animation_end: Optional[EventType[[]]] = None,
|
|
293
|
+
on_animation_start: Optional[EventType[[]]] = None,
|
|
294
|
+
on_click: Optional[EventType[[]]] = None,
|
|
295
|
+
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
296
|
+
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
297
|
+
on_mouse_move: Optional[EventType[[]]] = None,
|
|
298
|
+
on_mouse_out: Optional[EventType[[]]] = None,
|
|
299
|
+
on_mouse_over: Optional[EventType[[]]] = None,
|
|
274
300
|
**props,
|
|
275
301
|
) -> "RadialBar":
|
|
276
302
|
"""Create the component.
|
|
277
303
|
|
|
278
304
|
Args:
|
|
279
305
|
*children: The children of the component.
|
|
306
|
+
data: The source data which each element is an object.
|
|
280
307
|
data_key: The key of a group of data which should be unique to show the meaning of angle axis.
|
|
281
|
-
min_angle: Min angle of each bar. A positive value between 0 and 360.
|
|
282
|
-
legend_type:
|
|
283
|
-
label: If false set, labels will not be drawn.
|
|
284
|
-
background: If false set, background sector will not be drawn.
|
|
285
|
-
is_animation_active: If set false, animation of radial bars will be disabled.
|
|
286
|
-
animation_begin: Specifies when the animation should begin, the unit of this option is ms.
|
|
287
|
-
animation_duration: Specifies the duration of animation, the unit of this option is ms.
|
|
288
|
-
animation_easing: The type of easing function. 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear'.
|
|
308
|
+
min_angle: Min angle of each bar. A positive value between 0 and 360. Default: 0
|
|
309
|
+
legend_type: The type of icon in legend. If set to 'none', no legend item will be rendered. Default: "rect"
|
|
310
|
+
label: If false set, labels will not be drawn. If true set, labels will be drawn which have the props calculated internally. Default: False
|
|
311
|
+
background: If false set, background sector will not be drawn. Default: False
|
|
312
|
+
is_animation_active: If set false, animation of radial bars will be disabled. Default: True
|
|
313
|
+
animation_begin: Specifies when the animation should begin, the unit of this option is ms. Default: 0
|
|
314
|
+
animation_duration: Specifies the duration of animation, the unit of this option is ms. Default 1500
|
|
315
|
+
animation_easing: The type of easing function. 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear'. Default: "ease"
|
|
289
316
|
style: The style of the component.
|
|
290
317
|
key: A unique key for the component.
|
|
291
318
|
id: The id for the component.
|
|
@@ -312,13 +339,17 @@ class PolarAngleAxis(Recharts):
|
|
|
312
339
|
axis_line: Optional[
|
|
313
340
|
Union[Dict[str, Any], Var[Union[Dict[str, Any], bool]], bool]
|
|
314
341
|
] = None,
|
|
315
|
-
axis_line_type: Optional[
|
|
342
|
+
axis_line_type: Optional[
|
|
343
|
+
Union[Literal["circle", "polygon"], Var[Literal["circle", "polygon"]]]
|
|
344
|
+
] = None,
|
|
316
345
|
tick_line: Optional[
|
|
317
346
|
Union[Dict[str, Any], Var[Union[Dict[str, Any], bool]], bool]
|
|
318
347
|
] = None,
|
|
319
|
-
tick: Optional[
|
|
348
|
+
tick: Optional[
|
|
349
|
+
Union[Dict[str, Any], Var[Union[Dict[str, Any], bool]], bool]
|
|
350
|
+
] = None,
|
|
320
351
|
ticks: Optional[Union[List[Dict[str, Any]], Var[List[Dict[str, Any]]]]] = None,
|
|
321
|
-
|
|
352
|
+
orientation: Optional[Union[Var[str], str]] = None,
|
|
322
353
|
stroke: Optional[Union[Color, Var[Union[Color, str]], str]] = None,
|
|
323
354
|
allow_duplicated_category: Optional[Union[Var[bool], bool]] = None,
|
|
324
355
|
style: Optional[Style] = None,
|
|
@@ -327,41 +358,21 @@ class PolarAngleAxis(Recharts):
|
|
|
327
358
|
class_name: Optional[Any] = None,
|
|
328
359
|
autofocus: Optional[bool] = None,
|
|
329
360
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
330
|
-
on_blur: Optional[
|
|
331
|
-
on_click: Optional[
|
|
332
|
-
on_context_menu: Optional[
|
|
333
|
-
|
|
334
|
-
] = None,
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
] = None,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
] = None,
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
] = None,
|
|
346
|
-
on_mouse_leave: Optional[
|
|
347
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
348
|
-
] = None,
|
|
349
|
-
on_mouse_move: Optional[
|
|
350
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
351
|
-
] = None,
|
|
352
|
-
on_mouse_out: Optional[
|
|
353
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
354
|
-
] = None,
|
|
355
|
-
on_mouse_over: Optional[
|
|
356
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
357
|
-
] = None,
|
|
358
|
-
on_mouse_up: Optional[
|
|
359
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
360
|
-
] = None,
|
|
361
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
362
|
-
on_unmount: Optional[
|
|
363
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
364
|
-
] = None,
|
|
361
|
+
on_blur: Optional[EventType[[]]] = None,
|
|
362
|
+
on_click: Optional[EventType[[]]] = None,
|
|
363
|
+
on_context_menu: Optional[EventType[[]]] = None,
|
|
364
|
+
on_double_click: Optional[EventType[[]]] = None,
|
|
365
|
+
on_focus: Optional[EventType[[]]] = None,
|
|
366
|
+
on_mount: Optional[EventType[[]]] = None,
|
|
367
|
+
on_mouse_down: Optional[EventType[[]]] = None,
|
|
368
|
+
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
369
|
+
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
370
|
+
on_mouse_move: Optional[EventType[[]]] = None,
|
|
371
|
+
on_mouse_out: Optional[EventType[[]]] = None,
|
|
372
|
+
on_mouse_over: Optional[EventType[[]]] = None,
|
|
373
|
+
on_mouse_up: Optional[EventType[[]]] = None,
|
|
374
|
+
on_scroll: Optional[EventType[[]]] = None,
|
|
375
|
+
on_unmount: Optional[EventType[[]]] = None,
|
|
365
376
|
**props,
|
|
366
377
|
) -> "PolarAngleAxis":
|
|
367
378
|
"""Create the component.
|
|
@@ -372,14 +383,14 @@ class PolarAngleAxis(Recharts):
|
|
|
372
383
|
cx: The x-coordinate of center. If set a percentage, the final value is obtained by multiplying the percentage of container width.
|
|
373
384
|
cy: The y-coordinate of center. If set a percentage, the final value is obtained by multiplying the percentage of container height.
|
|
374
385
|
radius: The outer radius of circle grid. If set a percentage, the final value is obtained by multiplying the percentage of maxRadius which is calculated by the width, height, cx, cy.
|
|
375
|
-
axis_line: If false set, axis line will not be drawn. If true set, axis line will be drawn which have the props calculated internally. If object set, axis line will be drawn which have the props mergered by the internal calculated props and the option.
|
|
376
|
-
axis_line_type: The type of axis line.
|
|
377
|
-
tick_line: If false set, tick lines will not be drawn. If true set, tick lines will be drawn which have the props calculated internally. If object set, tick lines will be drawn which have the props mergered by the internal calculated props and the option.
|
|
378
|
-
tick:
|
|
386
|
+
axis_line: If false set, axis line will not be drawn. If true set, axis line will be drawn which have the props calculated internally. If object set, axis line will be drawn which have the props mergered by the internal calculated props and the option. Default: True
|
|
387
|
+
axis_line_type: The type of axis line. Default: "polygon"
|
|
388
|
+
tick_line: If false set, tick lines will not be drawn. If true set, tick lines will be drawn which have the props calculated internally. If object set, tick lines will be drawn which have the props mergered by the internal calculated props and the option. Default: False
|
|
389
|
+
tick: If false set, ticks will not be drawn. If true set, ticks will be drawn which have the props calculated internally. If object set, ticks will be drawn which have the props mergered by the internal calculated props and the option. Default: True
|
|
379
390
|
ticks: The array of every tick's value and angle.
|
|
380
|
-
|
|
381
|
-
stroke: The stroke color of axis
|
|
382
|
-
allow_duplicated_category: Allow the axis has duplicated categorys or not when the type of axis is "category".
|
|
391
|
+
orientation: The orientation of axis text. Default: "outer"
|
|
392
|
+
stroke: The stroke color of axis. Default: rx.color("gray", 10)
|
|
393
|
+
allow_duplicated_category: Allow the axis has duplicated categorys or not when the type of axis is "category". Default: True
|
|
383
394
|
style: The style of the component.
|
|
384
395
|
key: A unique key for the component.
|
|
385
396
|
id: The id for the component.
|
|
@@ -399,10 +410,10 @@ class PolarGrid(Recharts):
|
|
|
399
410
|
def create( # type: ignore
|
|
400
411
|
cls,
|
|
401
412
|
*children,
|
|
402
|
-
cx: Optional[Union[Var[
|
|
403
|
-
cy: Optional[Union[Var[
|
|
404
|
-
inner_radius: Optional[Union[Var[
|
|
405
|
-
outer_radius: Optional[Union[Var[
|
|
413
|
+
cx: Optional[Union[Var[int], int]] = None,
|
|
414
|
+
cy: Optional[Union[Var[int], int]] = None,
|
|
415
|
+
inner_radius: Optional[Union[Var[int], int]] = None,
|
|
416
|
+
outer_radius: Optional[Union[Var[int], int]] = None,
|
|
406
417
|
polar_angles: Optional[Union[List[int], Var[List[int]]]] = None,
|
|
407
418
|
polar_radius: Optional[Union[List[int], Var[List[int]]]] = None,
|
|
408
419
|
grid_type: Optional[
|
|
@@ -415,55 +426,35 @@ class PolarGrid(Recharts):
|
|
|
415
426
|
class_name: Optional[Any] = None,
|
|
416
427
|
autofocus: Optional[bool] = None,
|
|
417
428
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
418
|
-
on_blur: Optional[
|
|
419
|
-
on_click: Optional[
|
|
420
|
-
on_context_menu: Optional[
|
|
421
|
-
|
|
422
|
-
] = None,
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
] = None,
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
] = None,
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
] = None,
|
|
434
|
-
on_mouse_leave: Optional[
|
|
435
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
436
|
-
] = None,
|
|
437
|
-
on_mouse_move: Optional[
|
|
438
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
439
|
-
] = None,
|
|
440
|
-
on_mouse_out: Optional[
|
|
441
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
442
|
-
] = None,
|
|
443
|
-
on_mouse_over: Optional[
|
|
444
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
445
|
-
] = None,
|
|
446
|
-
on_mouse_up: Optional[
|
|
447
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
448
|
-
] = None,
|
|
449
|
-
on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
|
|
450
|
-
on_unmount: Optional[
|
|
451
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
452
|
-
] = None,
|
|
429
|
+
on_blur: Optional[EventType[[]]] = None,
|
|
430
|
+
on_click: Optional[EventType[[]]] = None,
|
|
431
|
+
on_context_menu: Optional[EventType[[]]] = None,
|
|
432
|
+
on_double_click: Optional[EventType[[]]] = None,
|
|
433
|
+
on_focus: Optional[EventType[[]]] = None,
|
|
434
|
+
on_mount: Optional[EventType[[]]] = None,
|
|
435
|
+
on_mouse_down: Optional[EventType[[]]] = None,
|
|
436
|
+
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
437
|
+
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
438
|
+
on_mouse_move: Optional[EventType[[]]] = None,
|
|
439
|
+
on_mouse_out: Optional[EventType[[]]] = None,
|
|
440
|
+
on_mouse_over: Optional[EventType[[]]] = None,
|
|
441
|
+
on_mouse_up: Optional[EventType[[]]] = None,
|
|
442
|
+
on_scroll: Optional[EventType[[]]] = None,
|
|
443
|
+
on_unmount: Optional[EventType[[]]] = None,
|
|
453
444
|
**props,
|
|
454
445
|
) -> "PolarGrid":
|
|
455
446
|
"""Create the component.
|
|
456
447
|
|
|
457
448
|
Args:
|
|
458
449
|
*children: The children of the component.
|
|
459
|
-
cx: The x-coordinate of center.
|
|
460
|
-
cy: The y-coordinate of center.
|
|
450
|
+
cx: The x-coordinate of center.
|
|
451
|
+
cy: The y-coordinate of center.
|
|
461
452
|
inner_radius: The radius of the inner polar grid.
|
|
462
453
|
outer_radius: The radius of the outer polar grid.
|
|
463
454
|
polar_angles: The array of every line grid's angle.
|
|
464
455
|
polar_radius: The array of every line grid's radius.
|
|
465
|
-
grid_type: The type of polar grids. 'polygon' | 'circle'
|
|
466
|
-
stroke: The stroke color of grid
|
|
456
|
+
grid_type: The type of polar grids. 'polygon' | 'circle'. Default: "polygon"
|
|
457
|
+
stroke: The stroke color of grid. Default: rx.color("gray", 10)
|
|
467
458
|
style: The style of the component.
|
|
468
459
|
key: A unique key for the component.
|
|
469
460
|
id: The id for the component.
|
|
@@ -489,14 +480,21 @@ class PolarRadiusAxis(Recharts):
|
|
|
489
480
|
Union[Literal["category", "number"], Var[Literal["category", "number"]]]
|
|
490
481
|
] = None,
|
|
491
482
|
allow_duplicated_category: Optional[Union[Var[bool], bool]] = None,
|
|
492
|
-
cx: Optional[Union[Var[
|
|
493
|
-
cy: Optional[Union[Var[
|
|
483
|
+
cx: Optional[Union[Var[int], int]] = None,
|
|
484
|
+
cy: Optional[Union[Var[int], int]] = None,
|
|
494
485
|
reversed: Optional[Union[Var[bool], bool]] = None,
|
|
495
|
-
orientation: Optional[
|
|
486
|
+
orientation: Optional[
|
|
487
|
+
Union[
|
|
488
|
+
Literal["left", "middle", "right"],
|
|
489
|
+
Var[Literal["left", "middle", "right"]],
|
|
490
|
+
]
|
|
491
|
+
] = None,
|
|
496
492
|
axis_line: Optional[
|
|
497
493
|
Union[Dict[str, Any], Var[Union[Dict[str, Any], bool]], bool]
|
|
498
494
|
] = None,
|
|
499
|
-
tick: Optional[
|
|
495
|
+
tick: Optional[
|
|
496
|
+
Union[Dict[str, Any], Var[Union[Dict[str, Any], bool]], bool]
|
|
497
|
+
] = None,
|
|
500
498
|
tick_count: Optional[Union[Var[int], int]] = None,
|
|
501
499
|
scale: Optional[
|
|
502
500
|
Union[
|
|
@@ -538,7 +536,9 @@ class PolarRadiusAxis(Recharts):
|
|
|
538
536
|
],
|
|
539
537
|
]
|
|
540
538
|
] = None,
|
|
541
|
-
domain: Optional[
|
|
539
|
+
domain: Optional[
|
|
540
|
+
Union[List[Union[int, str]], Var[List[Union[int, str]]]]
|
|
541
|
+
] = None,
|
|
542
542
|
stroke: Optional[Union[Color, Var[Union[Color, str]], str]] = None,
|
|
543
543
|
style: Optional[Style] = None,
|
|
544
544
|
key: Optional[Any] = None,
|
|
@@ -546,41 +546,31 @@ class PolarRadiusAxis(Recharts):
|
|
|
546
546
|
class_name: Optional[Any] = None,
|
|
547
547
|
autofocus: Optional[bool] = None,
|
|
548
548
|
custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
|
|
549
|
-
on_click: Optional[
|
|
550
|
-
on_mouse_enter: Optional[
|
|
551
|
-
|
|
552
|
-
] = None,
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
] = None,
|
|
556
|
-
on_mouse_move: Optional[
|
|
557
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
558
|
-
] = None,
|
|
559
|
-
on_mouse_out: Optional[
|
|
560
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
561
|
-
] = None,
|
|
562
|
-
on_mouse_over: Optional[
|
|
563
|
-
Union[EventHandler, EventSpec, list, Callable, Var]
|
|
564
|
-
] = None,
|
|
549
|
+
on_click: Optional[EventType[[]]] = None,
|
|
550
|
+
on_mouse_enter: Optional[EventType[[]]] = None,
|
|
551
|
+
on_mouse_leave: Optional[EventType[[]]] = None,
|
|
552
|
+
on_mouse_move: Optional[EventType[[]]] = None,
|
|
553
|
+
on_mouse_out: Optional[EventType[[]]] = None,
|
|
554
|
+
on_mouse_over: Optional[EventType[[]]] = None,
|
|
565
555
|
**props,
|
|
566
556
|
) -> "PolarRadiusAxis":
|
|
567
557
|
"""Create the component.
|
|
568
558
|
|
|
569
559
|
Args:
|
|
570
560
|
*children: The children of the component.
|
|
571
|
-
angle: The angle of radial direction line to display axis text.
|
|
572
|
-
type_: The type of axis line. 'number' | 'category'
|
|
573
|
-
allow_duplicated_category: Allow the axis has duplicated categorys or not when the type of axis is "category".
|
|
561
|
+
angle: The angle of radial direction line to display axis text. Default: 0
|
|
562
|
+
type_: The type of axis line. 'number' | 'category'. Default: "category"
|
|
563
|
+
allow_duplicated_category: Allow the axis has duplicated categorys or not when the type of axis is "category". Default: True
|
|
574
564
|
cx: The x-coordinate of center.
|
|
575
565
|
cy: The y-coordinate of center.
|
|
576
|
-
reversed: If set to true, the ticks of this axis are reversed.
|
|
577
|
-
orientation: The orientation of axis text.
|
|
578
|
-
axis_line: If false set, axis line will not be drawn. If true set, axis line will be drawn which have the props calculated internally. If object set, axis line will be drawn which have the props mergered by the internal calculated props and the option.
|
|
579
|
-
tick:
|
|
580
|
-
tick_count: The count of ticks.
|
|
581
|
-
scale: If 'auto' set, the scale funtion is linear scale. 'auto' | 'linear' | 'pow' | 'sqrt' | 'log' | 'identity' | 'time' | 'band' | 'point' | 'ordinal' | 'quantile' | 'quantize' | 'utc' | 'sequential' | 'threshold'
|
|
582
|
-
domain: The domain of the polar radius axis, specifying the minimum and maximum values.
|
|
583
|
-
stroke: The stroke color of axis
|
|
566
|
+
reversed: If set to true, the ticks of this axis are reversed. Default: False
|
|
567
|
+
orientation: The orientation of axis text. Default: "right"
|
|
568
|
+
axis_line: If false set, axis line will not be drawn. If true set, axis line will be drawn which have the props calculated internally. If object set, axis line will be drawn which have the props mergered by the internal calculated props and the option. Default: True
|
|
569
|
+
tick: If false set, ticks will not be drawn. If true set, ticks will be drawn which have the props calculated internally. If object set, ticks will be drawn which have the props mergered by the internal calculated props and the option. Default: True
|
|
570
|
+
tick_count: The count of axis ticks. Not used if 'type' is 'category'. Default: 5
|
|
571
|
+
scale: If 'auto' set, the scale funtion is linear scale. 'auto' | 'linear' | 'pow' | 'sqrt' | 'log' | 'identity' | 'time' | 'band' | 'point' | 'ordinal' | 'quantile' | 'quantize' | 'utc' | 'sequential' | 'threshold'. Default: "auto"
|
|
572
|
+
domain: The domain of the polar radius axis, specifying the minimum and maximum values. Default: [0, "auto"]
|
|
573
|
+
stroke: The stroke color of axis. Default: rx.color("gray", 10)
|
|
584
574
|
style: The style of the component.
|
|
585
575
|
key: A unique key for the component.
|
|
586
576
|
id: The id for the component.
|
|
@@ -60,6 +60,7 @@ LiteralScale = Literal[
|
|
|
60
60
|
"sequential",
|
|
61
61
|
"threshold",
|
|
62
62
|
]
|
|
63
|
+
LiteralTextAnchor = Literal["start", "middle", "end"]
|
|
63
64
|
LiteralLayout = Literal["horizontal", "vertical"]
|
|
64
65
|
LiteralPolarRadiusType = Literal["number", "category"]
|
|
65
66
|
LiteralGridType = Literal["polygon", "circle"]
|
|
@@ -131,6 +132,9 @@ LiteralAreaType = Literal[
|
|
|
131
132
|
"stepBefore",
|
|
132
133
|
"stepAfter",
|
|
133
134
|
]
|
|
134
|
-
LiteralDirection = Literal["x", "y"
|
|
135
|
+
LiteralDirection = Literal["x", "y"]
|
|
135
136
|
LiteralInterval = Literal["preserveStart", "preserveEnd", "preserveStartEnd"]
|
|
137
|
+
LiteralIntervalAxis = Literal[
|
|
138
|
+
"preserveStart", "preserveEnd", "preserveStartEnd", "equidistantPreserveStart"
|
|
139
|
+
]
|
|
136
140
|
LiteralSyncMethod = Literal["index", "value"]
|