polar.pyi 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564
  1. """Stub file for reflex/components/recharts/polar.py"""
  2. # ------------------- DO NOT EDIT ----------------------
  3. # This file was generated by `reflex/utils/pyi_generator.py`!
  4. # ------------------------------------------------------
  5. from typing import Any, Literal, Optional, Sequence, overload
  6. from reflex.constants.colors import Color
  7. from reflex.event import EventType
  8. from reflex.style import Style
  9. from reflex.vars.base import Var
  10. from .recharts import Recharts
  11. class Pie(Recharts):
  12. def get_event_triggers(self) -> dict[str, Var | Any]: ...
  13. @overload
  14. @classmethod
  15. def create( # type: ignore
  16. cls,
  17. *children,
  18. data: Sequence[dict[str, Any]] | Var[Sequence[dict[str, Any]]] | None = None,
  19. data_key: Var[int | str] | int | str | None = None,
  20. cx: Var[int | str] | int | str | None = None,
  21. cy: Var[int | str] | int | str | None = None,
  22. inner_radius: Var[int | str] | int | str | None = None,
  23. outer_radius: Var[int | str] | int | str | None = None,
  24. start_angle: Var[int] | int | None = None,
  25. end_angle: Var[int] | int | None = None,
  26. min_angle: Var[int] | int | None = None,
  27. padding_angle: Var[int] | int | None = None,
  28. name_key: Var[str] | str | None = None,
  29. legend_type: Literal[
  30. "circle",
  31. "cross",
  32. "diamond",
  33. "line",
  34. "none",
  35. "plainline",
  36. "rect",
  37. "square",
  38. "star",
  39. "triangle",
  40. "wye",
  41. ]
  42. | Var[
  43. Literal[
  44. "circle",
  45. "cross",
  46. "diamond",
  47. "line",
  48. "none",
  49. "plainline",
  50. "rect",
  51. "square",
  52. "star",
  53. "triangle",
  54. "wye",
  55. ]
  56. ]
  57. | None = None,
  58. label: Var[bool] | bool | None = None,
  59. label_line: Var[bool] | bool | None = None,
  60. stroke: Color | Var[Color | str] | str | None = None,
  61. fill: Color | Var[Color | str] | str | None = None,
  62. is_animation_active: Var[bool] | bool | None = None,
  63. animation_begin: Var[int] | int | None = None,
  64. animation_duration: Var[int] | int | None = None,
  65. animation_easing: Literal[
  66. "ease", "ease-in", "ease-in-out", "ease-out", "linear"
  67. ]
  68. | Var[Literal["ease", "ease-in", "ease-in-out", "ease-out", "linear"]]
  69. | None = None,
  70. root_tab_index: Var[int] | int | None = None,
  71. style: Style | None = None,
  72. key: Any | None = None,
  73. id: Any | None = None,
  74. class_name: Any | None = None,
  75. autofocus: bool | None = None,
  76. custom_attrs: dict[str, Var | Any] | None = None,
  77. on_animation_end: Optional[EventType[()]] = None,
  78. on_animation_start: Optional[EventType[()]] = None,
  79. on_click: Optional[EventType[()]] = None,
  80. on_mouse_enter: Optional[EventType[()]] = None,
  81. on_mouse_leave: Optional[EventType[()]] = None,
  82. on_mouse_move: Optional[EventType[()]] = None,
  83. on_mouse_out: Optional[EventType[()]] = None,
  84. on_mouse_over: Optional[EventType[()]] = None,
  85. **props,
  86. ) -> "Pie":
  87. """Create the component.
  88. Args:
  89. *children: The children of the component.
  90. data: The source data which each element is an object.
  91. data_key: The key of each sector's value.
  92. cx: The x-coordinate of center. If set a percentage, the final value is obtained by multiplying the percentage of container width. Default: "50%"
  93. cy: The y-coordinate of center. If set a percentage, the final value is obtained by multiplying the percentage of container height. Default: "50%"
  94. inner_radius: The inner radius of pie, which can be set to a percent value. Default: 0
  95. outer_radius: The outer radius of pie, which can be set to a percent value. Default: "80%"
  96. start_angle: The angle of first sector. Default: 0
  97. end_angle: The end angle of last sector, which should be unequal to start_angle. Default: 360
  98. min_angle: The minimum angle of each unzero data. Default: 0
  99. padding_angle: The angle between two sectors. Default: 0
  100. name_key: The key of each sector's name. Default: "name"
  101. legend_type: The type of icon in legend. If set to 'none', no legend item will be rendered. Default: "rect"
  102. label: If false set, labels will not be drawn. If true set, labels will be drawn which have the props calculated internally. Default: False
  103. 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
  104. stroke: Stoke color. Default: rx.color("accent", 9)
  105. fill: Fill color. Default: rx.color("accent", 3)
  106. is_animation_active: If set false, animation of tooltip will be disabled. Default: true in CSR, and false in SSR
  107. animation_begin: Specifies when the animation should begin, the unit of this option is ms. Default: 400
  108. animation_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
  109. animation_easing: The type of easing function. Default: "ease"
  110. root_tab_index: The tabindex of wrapper surrounding the cells. Default: 0
  111. style: The style of the component.
  112. key: A unique key for the component.
  113. id: The id for the component.
  114. class_name: The class name for the component.
  115. autofocus: Whether the component should take the focus once the page is loaded
  116. custom_attrs: custom attribute
  117. **props: The props of the component.
  118. Returns:
  119. The component.
  120. """
  121. ...
  122. class Radar(Recharts):
  123. def get_event_triggers(self) -> dict[str, Var | Any]: ...
  124. @overload
  125. @classmethod
  126. def create( # type: ignore
  127. cls,
  128. *children,
  129. data_key: Var[int | str] | int | str | None = None,
  130. points: Sequence[dict[str, Any]] | Var[Sequence[dict[str, Any]]] | None = None,
  131. dot: Var[bool] | bool | None = None,
  132. stroke: Color | Var[Color | str] | str | None = None,
  133. fill: Var[str] | str | None = None,
  134. fill_opacity: Var[float] | float | None = None,
  135. legend_type: Literal[
  136. "circle",
  137. "cross",
  138. "diamond",
  139. "line",
  140. "none",
  141. "plainline",
  142. "rect",
  143. "square",
  144. "star",
  145. "triangle",
  146. "wye",
  147. ]
  148. | Var[
  149. Literal[
  150. "circle",
  151. "cross",
  152. "diamond",
  153. "line",
  154. "none",
  155. "plainline",
  156. "rect",
  157. "square",
  158. "star",
  159. "triangle",
  160. "wye",
  161. ]
  162. ]
  163. | None = None,
  164. label: Var[bool] | bool | None = None,
  165. is_animation_active: Var[bool] | bool | None = None,
  166. animation_begin: Var[int] | int | None = None,
  167. animation_duration: Var[int] | int | None = None,
  168. animation_easing: Literal[
  169. "ease", "ease-in", "ease-in-out", "ease-out", "linear"
  170. ]
  171. | Var[Literal["ease", "ease-in", "ease-in-out", "ease-out", "linear"]]
  172. | None = None,
  173. style: Style | None = None,
  174. key: Any | None = None,
  175. id: Any | None = None,
  176. class_name: Any | None = None,
  177. autofocus: bool | None = None,
  178. custom_attrs: dict[str, Var | Any] | None = None,
  179. on_animation_end: Optional[EventType[()]] = None,
  180. on_animation_start: Optional[EventType[()]] = None,
  181. **props,
  182. ) -> "Radar":
  183. """Create the component.
  184. Args:
  185. *children: The children of the component.
  186. data_key: The key of a group of data which should be unique in a radar chart.
  187. points: The coordinates of all the vertices of the radar shape, like [{ x, y }].
  188. dot: If false set, dots will not be drawn. Default: True
  189. stroke: Stoke color. Default: rx.color("accent", 9)
  190. fill: Fill color. Default: rx.color("accent", 3)
  191. fill_opacity: The opacity to fill the chart. Default: 0.6
  192. legend_type: The type of icon in legend. If set to 'none', no legend item will be rendered. Default: "rect"
  193. label: If false set, labels will not be drawn. Default: True
  194. is_animation_active: If set false, animation of polygon will be disabled. Default: True in CSR, and False in SSR
  195. animation_begin: Specifies when the animation should begin, the unit of this option is ms. Default: 0
  196. animation_duration: Specifies the duration of animation, the unit of this option is ms. Default: 1500
  197. animation_easing: The type of easing function. 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear'. Default: "ease"
  198. style: The style of the component.
  199. key: A unique key for the component.
  200. id: The id for the component.
  201. class_name: The class name for the component.
  202. autofocus: Whether the component should take the focus once the page is loaded
  203. custom_attrs: custom attribute
  204. **props: The props of the component.
  205. Returns:
  206. The component.
  207. """
  208. ...
  209. class RadialBar(Recharts):
  210. def get_event_triggers(self) -> dict[str, Var | Any]: ...
  211. @overload
  212. @classmethod
  213. def create( # type: ignore
  214. cls,
  215. *children,
  216. data: Sequence[dict[str, Any]] | Var[Sequence[dict[str, Any]]] | None = None,
  217. data_key: Var[int | str] | int | str | None = None,
  218. min_angle: Var[int] | int | None = None,
  219. legend_type: Literal[
  220. "circle",
  221. "cross",
  222. "diamond",
  223. "line",
  224. "none",
  225. "plainline",
  226. "rect",
  227. "square",
  228. "star",
  229. "triangle",
  230. "wye",
  231. ]
  232. | Var[
  233. Literal[
  234. "circle",
  235. "cross",
  236. "diamond",
  237. "line",
  238. "none",
  239. "plainline",
  240. "rect",
  241. "square",
  242. "star",
  243. "triangle",
  244. "wye",
  245. ]
  246. ]
  247. | None = None,
  248. label: Var[bool | dict[str, Any]] | bool | dict[str, Any] | None = None,
  249. background: Var[bool | dict[str, Any]] | bool | dict[str, Any] | None = None,
  250. is_animation_active: Var[bool] | bool | None = None,
  251. animation_begin: Var[int] | int | None = None,
  252. animation_duration: Var[int] | int | None = None,
  253. animation_easing: Literal[
  254. "ease", "ease-in", "ease-in-out", "ease-out", "linear"
  255. ]
  256. | Var[Literal["ease", "ease-in", "ease-in-out", "ease-out", "linear"]]
  257. | None = None,
  258. style: Style | None = None,
  259. key: Any | None = None,
  260. id: Any | None = None,
  261. class_name: Any | None = None,
  262. autofocus: bool | None = None,
  263. custom_attrs: dict[str, Var | Any] | None = None,
  264. on_animation_end: Optional[EventType[()]] = None,
  265. on_animation_start: Optional[EventType[()]] = None,
  266. on_click: Optional[EventType[()]] = None,
  267. on_mouse_enter: Optional[EventType[()]] = None,
  268. on_mouse_leave: Optional[EventType[()]] = None,
  269. on_mouse_move: Optional[EventType[()]] = None,
  270. on_mouse_out: Optional[EventType[()]] = None,
  271. on_mouse_over: Optional[EventType[()]] = None,
  272. **props,
  273. ) -> "RadialBar":
  274. """Create the component.
  275. Args:
  276. *children: The children of the component.
  277. data: The source data which each element is an object.
  278. data_key: The key of a group of data which should be unique to show the meaning of angle axis.
  279. min_angle: Min angle of each bar. A positive value between 0 and 360. Default: 0
  280. legend_type: The type of icon in legend. If set to 'none', no legend item will be rendered. Default: "rect"
  281. label: If false set, labels will not be drawn. If true set, labels will be drawn which have the props calculated internally. Default: False
  282. background: If false set, background sector will not be drawn. Default: False
  283. is_animation_active: If set false, animation of radial bars will be disabled. Default: True
  284. animation_begin: Specifies when the animation should begin, the unit of this option is ms. Default: 0
  285. animation_duration: Specifies the duration of animation, the unit of this option is ms. Default 1500
  286. animation_easing: The type of easing function. 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear'. Default: "ease"
  287. style: The style of the component.
  288. key: A unique key for the component.
  289. id: The id for the component.
  290. class_name: The class name for the component.
  291. autofocus: Whether the component should take the focus once the page is loaded
  292. custom_attrs: custom attribute
  293. **props: The props of the component.
  294. Returns:
  295. The component.
  296. """
  297. ...
  298. class PolarAngleAxis(Recharts):
  299. @overload
  300. @classmethod
  301. def create( # type: ignore
  302. cls,
  303. *children,
  304. data_key: Var[int | str] | int | str | None = None,
  305. cx: Var[int | str] | int | str | None = None,
  306. cy: Var[int | str] | int | str | None = None,
  307. radius: Var[int | str] | int | str | None = None,
  308. axis_line: Var[bool | dict[str, Any]] | bool | dict[str, Any] | None = None,
  309. axis_line_type: Literal["circle", "polygon"]
  310. | Var[Literal["circle", "polygon"]]
  311. | None = None,
  312. tick_line: Var[bool | dict[str, Any]] | bool | dict[str, Any] | None = None,
  313. tick: Var[bool | dict[str, Any]] | bool | dict[str, Any] | None = None,
  314. ticks: Sequence[dict[str, Any]] | Var[Sequence[dict[str, Any]]] | None = None,
  315. orientation: Var[str] | str | None = None,
  316. stroke: Color | Var[Color | str] | str | None = None,
  317. allow_duplicated_category: Var[bool] | bool | None = None,
  318. style: Style | None = None,
  319. key: Any | None = None,
  320. id: Any | None = None,
  321. class_name: Any | None = None,
  322. autofocus: bool | None = None,
  323. custom_attrs: dict[str, Var | Any] | None = None,
  324. on_blur: Optional[EventType[()]] = None,
  325. on_click: Optional[EventType[()]] = None,
  326. on_context_menu: Optional[EventType[()]] = None,
  327. on_double_click: Optional[EventType[()]] = None,
  328. on_focus: Optional[EventType[()]] = None,
  329. on_mount: Optional[EventType[()]] = None,
  330. on_mouse_down: Optional[EventType[()]] = None,
  331. on_mouse_enter: Optional[EventType[()]] = None,
  332. on_mouse_leave: Optional[EventType[()]] = None,
  333. on_mouse_move: Optional[EventType[()]] = None,
  334. on_mouse_out: Optional[EventType[()]] = None,
  335. on_mouse_over: Optional[EventType[()]] = None,
  336. on_mouse_up: Optional[EventType[()]] = None,
  337. on_scroll: Optional[EventType[()]] = None,
  338. on_unmount: Optional[EventType[()]] = None,
  339. **props,
  340. ) -> "PolarAngleAxis":
  341. """Create the component.
  342. Args:
  343. *children: The children of the component.
  344. data_key: The key of a group of data which should be unique to show the meaning of angle axis.
  345. cx: The x-coordinate of center. If set a percentage, the final value is obtained by multiplying the percentage of container width.
  346. cy: The y-coordinate of center. If set a percentage, the final value is obtained by multiplying the percentage of container height.
  347. 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.
  348. 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
  349. axis_line_type: The type of axis line. Default: "polygon"
  350. 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
  351. 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
  352. ticks: The array of every tick's value and angle.
  353. orientation: The orientation of axis text. Default: "outer"
  354. stroke: The stroke color of axis. Default: rx.color("gray", 10)
  355. allow_duplicated_category: Allow the axis has duplicated categorys or not when the type of axis is "category". Default: True
  356. on_click: The customized event handler of click on the ticks of this axis.
  357. on_mouse_down: The customized event handler of mousedown on the the ticks of this axis.
  358. on_mouse_up: The customized event handler of mouseup on the ticks of this axis.
  359. on_mouse_move: The customized event handler of mousemove on the ticks of this axis.
  360. on_mouse_over: The customized event handler of mouseover on the ticks of this axis.
  361. on_mouse_out: The customized event handler of mouseout on the ticks of this axis.
  362. on_mouse_enter: The customized event handler of moustenter on the ticks of this axis.
  363. on_mouse_leave: The customized event handler of mouseleave on the ticks of this axis.
  364. style: The style of the component.
  365. key: A unique key for the component.
  366. id: The id for the component.
  367. class_name: The class name for the component.
  368. autofocus: Whether the component should take the focus once the page is loaded
  369. custom_attrs: custom attribute
  370. **props: The props of the component.
  371. Returns:
  372. The component.
  373. """
  374. ...
  375. class PolarGrid(Recharts):
  376. @overload
  377. @classmethod
  378. def create( # type: ignore
  379. cls,
  380. *children,
  381. cx: Var[int] | int | None = None,
  382. cy: Var[int] | int | None = None,
  383. inner_radius: Var[int] | int | None = None,
  384. outer_radius: Var[int] | int | None = None,
  385. polar_angles: Sequence[int] | Var[Sequence[int]] | None = None,
  386. polar_radius: Sequence[int] | Var[Sequence[int]] | None = None,
  387. grid_type: Literal["circle", "polygon"]
  388. | Var[Literal["circle", "polygon"]]
  389. | None = None,
  390. stroke: Color | Var[Color | str] | str | None = None,
  391. style: Style | None = None,
  392. key: Any | None = None,
  393. id: Any | None = None,
  394. class_name: Any | None = None,
  395. autofocus: bool | None = None,
  396. custom_attrs: dict[str, Var | Any] | None = None,
  397. on_blur: Optional[EventType[()]] = None,
  398. on_click: Optional[EventType[()]] = None,
  399. on_context_menu: Optional[EventType[()]] = None,
  400. on_double_click: Optional[EventType[()]] = None,
  401. on_focus: Optional[EventType[()]] = None,
  402. on_mount: Optional[EventType[()]] = None,
  403. on_mouse_down: Optional[EventType[()]] = None,
  404. on_mouse_enter: Optional[EventType[()]] = None,
  405. on_mouse_leave: Optional[EventType[()]] = None,
  406. on_mouse_move: Optional[EventType[()]] = None,
  407. on_mouse_out: Optional[EventType[()]] = None,
  408. on_mouse_over: Optional[EventType[()]] = None,
  409. on_mouse_up: Optional[EventType[()]] = None,
  410. on_scroll: Optional[EventType[()]] = None,
  411. on_unmount: Optional[EventType[()]] = None,
  412. **props,
  413. ) -> "PolarGrid":
  414. """Create the component.
  415. Args:
  416. *children: The children of the component.
  417. cx: The x-coordinate of center.
  418. cy: The y-coordinate of center.
  419. inner_radius: The radius of the inner polar grid.
  420. outer_radius: The radius of the outer polar grid.
  421. polar_angles: The array of every line grid's angle.
  422. polar_radius: The array of every line grid's radius.
  423. grid_type: The type of polar grids. 'polygon' | 'circle'. Default: "polygon"
  424. stroke: The stroke color of grid. Default: rx.color("gray", 10)
  425. style: The style of the component.
  426. key: A unique key for the component.
  427. id: The id for the component.
  428. class_name: The class name for the component.
  429. autofocus: Whether the component should take the focus once the page is loaded
  430. custom_attrs: custom attribute
  431. **props: The props of the component.
  432. Returns:
  433. The component.
  434. """
  435. ...
  436. class PolarRadiusAxis(Recharts):
  437. def get_event_triggers(self) -> dict[str, Var | Any]: ...
  438. @overload
  439. @classmethod
  440. def create( # type: ignore
  441. cls,
  442. *children,
  443. angle: Var[int] | int | None = None,
  444. type_: Literal["category", "number"]
  445. | Var[Literal["category", "number"]]
  446. | None = None,
  447. allow_duplicated_category: Var[bool] | bool | None = None,
  448. cx: Var[int] | int | None = None,
  449. cy: Var[int] | int | None = None,
  450. reversed: Var[bool] | bool | None = None,
  451. orientation: Literal["left", "middle", "right"]
  452. | Var[Literal["left", "middle", "right"]]
  453. | None = None,
  454. axis_line: Var[bool | dict[str, Any]] | bool | dict[str, Any] | None = None,
  455. tick: Var[bool | dict[str, Any]] | bool | dict[str, Any] | None = None,
  456. tick_count: Var[int] | int | None = None,
  457. scale: Literal[
  458. "auto",
  459. "band",
  460. "identity",
  461. "linear",
  462. "log",
  463. "ordinal",
  464. "point",
  465. "pow",
  466. "quantile",
  467. "quantize",
  468. "sequential",
  469. "sqrt",
  470. "threshold",
  471. "time",
  472. "utc",
  473. ]
  474. | Var[
  475. Literal[
  476. "auto",
  477. "band",
  478. "identity",
  479. "linear",
  480. "log",
  481. "ordinal",
  482. "point",
  483. "pow",
  484. "quantile",
  485. "quantize",
  486. "sequential",
  487. "sqrt",
  488. "threshold",
  489. "time",
  490. "utc",
  491. ]
  492. ]
  493. | None = None,
  494. domain: Sequence[int | str] | Var[Sequence[int | str]] | None = None,
  495. stroke: Color | Var[Color | str] | str | None = None,
  496. style: Style | None = None,
  497. key: Any | None = None,
  498. id: Any | None = None,
  499. class_name: Any | None = None,
  500. autofocus: bool | None = None,
  501. custom_attrs: dict[str, Var | Any] | None = None,
  502. on_click: Optional[EventType[()]] = None,
  503. on_mouse_enter: Optional[EventType[()]] = None,
  504. on_mouse_leave: Optional[EventType[()]] = None,
  505. on_mouse_move: Optional[EventType[()]] = None,
  506. on_mouse_out: Optional[EventType[()]] = None,
  507. on_mouse_over: Optional[EventType[()]] = None,
  508. **props,
  509. ) -> "PolarRadiusAxis":
  510. """Create the component.
  511. Args:
  512. *children: The children of the component.
  513. angle: The angle of radial direction line to display axis text. Default: 0
  514. type_: The type of axis line. 'number' | 'category'. Default: "category"
  515. allow_duplicated_category: Allow the axis has duplicated categorys or not when the type of axis is "category". Default: True
  516. cx: The x-coordinate of center.
  517. cy: The y-coordinate of center.
  518. reversed: If set to true, the ticks of this axis are reversed. Default: False
  519. orientation: The orientation of axis text. Default: "right"
  520. 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
  521. 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
  522. tick_count: The count of axis ticks. Not used if 'type' is 'category'. Default: 5
  523. scale: If 'auto' set, the scale function is linear scale. 'auto' | 'linear' | 'pow' | 'sqrt' | 'log' | 'identity' | 'time' | 'band' | 'point' | 'ordinal' | 'quantile' | 'quantize' | 'utc' | 'sequential' | 'threshold'. Default: "auto"
  524. domain: The domain of the polar radius axis, specifying the minimum and maximum values. Default: [0, "auto"]
  525. stroke: The stroke color of axis. Default: rx.color("gray", 10)
  526. style: The style of the component.
  527. key: A unique key for the component.
  528. id: The id for the component.
  529. class_name: The class name for the component.
  530. autofocus: Whether the component should take the focus once the page is loaded
  531. custom_attrs: custom attribute
  532. **props: The props of the component.
  533. Returns:
  534. The component.
  535. """
  536. ...
  537. pie = Pie.create
  538. radar = Radar.create
  539. radial_bar = RadialBar.create
  540. polar_angle_axis = PolarAngleAxis.create
  541. polar_grid = PolarGrid.create
  542. polar_radius_axis = PolarRadiusAxis.create