Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion pyi_hashes.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"reflex/components/react_player/react_player.pyi": "40db798bcb7fa40207d24f49722135ae",
"reflex/components/react_player/video.pyi": "22d84a7f57be13ece90cb30536d76c7d",
"reflex/components/recharts/__init__.pyi": "a52c9055e37c6ee25ded15688d45e8a5",
"reflex/components/recharts/cartesian.pyi": "eb44b706cdb45f4b8450ef5302a981ae",
"reflex/components/recharts/cartesian.pyi": "5f893a3a6b1428a463cbbc4db5aa8097",
"reflex/components/recharts/charts.pyi": "2f0a39f9c02de83d9e2d97763b4411af",
"reflex/components/recharts/general.pyi": "06d0e97776cc82b946fed465ab36fba4",
"reflex/components/recharts/polar.pyi": "7c445e98c1d0c95868411173de8fe85e",
Expand Down
10 changes: 5 additions & 5 deletions reflex/components/recharts/cartesian.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ class Area(Cartesian):
stroke: Var[str | Color] = LiteralVar.create(Color("accent", 9))

# The width of the line stroke. Default: 1
stroke_width: Var[int]
stroke_width: Var[str | int | float]

# The color of the area fill. Default: rx.color("accent", 5)
fill: Var[str | Color] = LiteralVar.create(Color("accent", 5))
Expand Down Expand Up @@ -384,7 +384,7 @@ class Bar(Cartesian):
stroke: Var[str | Color]

# The width of the line stroke.
stroke_width: Var[int]
stroke_width: Var[str | int | float]

# The width of the line stroke. Default: Color("accent", 9)
fill: Var[str | Color] = LiteralVar.create(Color("accent", 9))
Expand Down Expand Up @@ -437,7 +437,7 @@ class Line(Cartesian):
stroke: Var[str | Color] = LiteralVar.create(Color("accent", 9))

# The width of the line stroke. Default: 1
stroke_width: Var[int]
stroke_width: Var[str | int | float]

# The dot is shown when mouse enter a line chart and this chart has tooltip. If false set, no active dot will not be drawn. If true set, active dot will be drawn which have the props calculated internally. Default: {"stroke": rx.color("accent", 10), "fill": rx.color("accent", 4)}
dot: Var[bool | dict[str, Any]] = LiteralVar.create(
Expand Down Expand Up @@ -645,7 +645,7 @@ class ErrorBar(Recharts):
stroke: Var[str | Color] = LiteralVar.create(Color("gray", 8))

# The stroke width of error bar. Default: 1.5
stroke_width: Var[int | float]
stroke_width: Var[str | int | float]


class Reference(Recharts):
Expand Down Expand Up @@ -684,7 +684,7 @@ class ReferenceLine(Reference):
stroke: Var[str | Color]

# The width of the stroke. Default: 1
stroke_width: Var[str | int]
stroke_width: Var[str | int | float]

# Valid children components
_valid_children: ClassVar[list[str]] = ["Label"]
Expand Down