cell component wrapper
This commit is contained in:
parent
4dc106545b
commit
4d06edd8ce
@ -70,6 +70,8 @@ _SUBMOD_ATTRS: dict = {
|
|||||||
"Label",
|
"Label",
|
||||||
"label_list",
|
"label_list",
|
||||||
"LabelList",
|
"LabelList",
|
||||||
|
"cell",
|
||||||
|
"Cell"
|
||||||
],
|
],
|
||||||
"polar": [
|
"polar": [
|
||||||
"pie",
|
"pie",
|
||||||
|
@ -241,9 +241,23 @@ class LabelList(Recharts):
|
|||||||
# The stroke color of each label. Default: "none"
|
# The stroke color of each label. Default: "none"
|
||||||
stroke: Var[Union[str, Color]] = LiteralVar.create("none")
|
stroke: Var[Union[str, Color]] = LiteralVar.create("none")
|
||||||
|
|
||||||
|
class Cell(Recharts):
|
||||||
|
"""A Cell component in Recharts."""
|
||||||
|
|
||||||
|
tag = "Cell"
|
||||||
|
|
||||||
|
alias = "RechartsCell"
|
||||||
|
|
||||||
|
# The presentation attribute of a rectangle in bar or a sector in pie.
|
||||||
|
fill: Var[str]
|
||||||
|
|
||||||
|
# The presentation attribute of a rectangle in bar or a sector in pie.
|
||||||
|
stroke: Var[str]
|
||||||
|
|
||||||
|
|
||||||
responsive_container = ResponsiveContainer.create
|
responsive_container = ResponsiveContainer.create
|
||||||
legend = Legend.create
|
legend = Legend.create
|
||||||
graphing_tooltip = GraphingTooltip.create
|
graphing_tooltip = GraphingTooltip.create
|
||||||
label = Label.create
|
label = Label.create
|
||||||
label_list = LabelList.create
|
label_list = LabelList.create
|
||||||
|
cell = Cell.create
|
||||||
|
Loading…
Reference in New Issue
Block a user