Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ class BarChart(CategoricalChartBase):
"Legend",
"GraphingTooltip",
"Bar",
"Defs",
]


Expand All @@ -228,6 +229,7 @@ class LineChart(CategoricalChartBase):
"Legend",
"GraphingTooltip",
"Line",
"Defs",
]


Expand Down Expand Up @@ -272,6 +274,7 @@ class ComposedChart(CategoricalChartBase):
"Area",
"Line",
"Bar",
"Defs",
]


Expand All @@ -294,6 +297,7 @@ class PieChart(ChartBase):
"Legend",
"GraphingTooltip",
"Pie",
"Defs",
]

on_mouse_down: EventHandler[no_args_event_spec] = field(
Expand Down Expand Up @@ -360,6 +364,7 @@ class RadarChart(ChartBase):
"Legend",
"GraphingTooltip",
"Radar",
"Defs",
]

@classmethod
Expand Down Expand Up @@ -435,6 +440,7 @@ class RadialBarChart(ChartBase):
"Legend",
"GraphingTooltip",
"RadialBar",
"Defs",
]


Expand Down Expand Up @@ -462,6 +468,7 @@ class ScatterChart(ChartBase):
"Legend",
"GraphingTooltip",
"Scatter",
"Defs",
]

@classmethod
Expand Down Expand Up @@ -501,7 +508,12 @@ class FunnelChart(ChartBase):
)

# Valid children components
_valid_children: ClassVar[list[str]] = ["Legend", "GraphingTooltip", "Funnel"]
_valid_children: ClassVar[list[str]] = [
"Legend",
"GraphingTooltip",
"Funnel",
"Defs",
]


class Treemap(RechartsCharts):
Expand Down
Loading