123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- """Recharts components."""
- from __future__ import annotations
- from reflex.utils import lazy_loader
- _SUBMOD_ATTRS: dict = {
- "cartesian": [
- "area",
- "Area",
- "bar",
- "Bar",
- "line",
- "Line",
- "scatter",
- "Scatter",
- "x_axis",
- "XAxis",
- "y_axis",
- "YAxis",
- "z_axis",
- "ZAxis",
- "brush",
- "Brush",
- "cartesian_axis",
- "CartesianAxis",
- "cartesian_grid",
- "CartesianGrid",
- "reference_line",
- "ReferenceLine",
- "reference_dot",
- "ReferenceDot",
- "reference_area",
- "ReferenceArea",
- "error_bar",
- "ErrorBar",
- "funnel",
- "Funnel",
- ],
- "charts": [
- "area_chart",
- "AreaChart",
- "bar_chart",
- "BarChart",
- "line_chart",
- "LineChart",
- "composed_chart",
- "ComposedChart",
- "pie_chart",
- "PieChart",
- "radar_chart",
- "RadarChart",
- "radial_bar_chart",
- "RadialBarChart",
- "scatter_chart",
- "ScatterChart",
- "funnel_chart",
- "FunnelChart",
- "treemap",
- "Treemap",
- ],
- "general": [
- "responsive_container",
- "ResponsiveContainer",
- "legend",
- "Legend",
- "tooltip",
- "graphing_tooltip",
- "GraphingTooltip",
- "label",
- "Label",
- "label_list",
- "LabelList",
- "cell",
- "Cell",
- ],
- "polar": [
- "pie",
- "Pie",
- "radar",
- "Radar",
- "radial_bar",
- "RadialBar",
- "polar_angle_axis",
- "PolarAngleAxis",
- "polar_grid",
- "PolarGrid",
- "polar_radius_axis",
- "PolarRadiusAxis",
- ],
- "recharts": [
- "LiteralAnimationEasing",
- "LiteralAreaType",
- "LiteralAxisType",
- "LiteralBarChartStackOffset",
- "LiteralComposedChartBaseValue",
- "LiteralDirection",
- "LiteralGridType",
- "LiteralIconType",
- "LiteralIfOverflow",
- "LiteralInterval",
- "LiteralLayout",
- "LiteralLegendAlign",
- "LiteralLegendType",
- "LiteralLineType",
- "LiteralOrientation",
- "LiteralOrientationLeftRightMiddle",
- "LiteralOrientationTopBottom",
- "LiteralOrientationTopBottomLeftRight",
- "LiteralPolarRadiusType",
- "LiteralScale",
- "LiteralShape",
- "LiteralStackOffset",
- "LiteralSyncMethod",
- "LiteralVerticalAlign",
- ],
- }
- __getattr__, __dir__, __all__ = lazy_loader.attach(
- __name__,
- submod_attrs=_SUBMOD_ATTRS,
- )
|