|
@@ -663,6 +663,8 @@ class Brush(Recharts):
|
|
|
def create( # type: ignore
|
|
|
cls,
|
|
|
*children,
|
|
|
+ stroke: Optional[Union[Var[Union[Color, str]], str, Color]] = None,
|
|
|
+ fill: Optional[Union[Var[Union[Color, str]], str, Color]] = None,
|
|
|
data_key: Optional[Union[Var[Union[int, str]], str, int]] = None,
|
|
|
x: Optional[Union[Var[int], int]] = None,
|
|
|
y: Optional[Union[Var[int], int]] = None,
|
|
@@ -673,8 +675,6 @@ class Brush(Recharts):
|
|
|
gap: Optional[Union[Var[int], int]] = None,
|
|
|
start_index: Optional[Union[Var[int], int]] = None,
|
|
|
end_index: Optional[Union[Var[int], int]] = None,
|
|
|
- fill: Optional[Union[Var[Union[Color, str]], str, Color]] = None,
|
|
|
- stroke: Optional[Union[Var[Union[Color, str]], str, Color]] = None,
|
|
|
style: Optional[Style] = None,
|
|
|
key: Optional[Any] = None,
|
|
|
id: Optional[Any] = None,
|
|
@@ -690,6 +690,8 @@ class Brush(Recharts):
|
|
|
|
|
|
Args:
|
|
|
*children: The children of the component.
|
|
|
+ stroke: The stroke color of brush
|
|
|
+ fill: The fill color of brush
|
|
|
data_key: The key of data displayed in the axis.
|
|
|
x: The x-coordinate of brush.
|
|
|
y: The y-coordinate of brush.
|
|
@@ -700,8 +702,6 @@ class Brush(Recharts):
|
|
|
gap: The data with gap of refreshing chart. If the option is not set, the chart will be refreshed every time
|
|
|
start_index: The default start index of brush. If the option is not set, the start index will be 0.
|
|
|
end_index: The default end index of brush. If the option is not set, the end index will be 1.
|
|
|
- fill: The fill color of brush
|
|
|
- stroke: The stroke color of brush
|
|
|
style: The style of the component.
|
|
|
key: A unique key for the component.
|
|
|
id: The id for the component.
|
|
@@ -886,8 +886,12 @@ class Area(Cartesian):
|
|
|
],
|
|
|
]
|
|
|
] = None,
|
|
|
- dot: Optional[Union[Var[bool], bool]] = None,
|
|
|
- active_dot: Optional[Union[Var[bool], bool]] = None,
|
|
|
+ dot: Optional[
|
|
|
+ Union[Var[Union[Dict[str, Any], bool]], bool, Dict[str, Any]]
|
|
|
+ ] = None,
|
|
|
+ active_dot: Optional[
|
|
|
+ Union[Var[Union[Dict[str, Any], bool]], bool, Dict[str, Any]]
|
|
|
+ ] = None,
|
|
|
label: Optional[Union[Var[bool], bool]] = None,
|
|
|
stack_id: Optional[Union[Var[Union[int, str]], str, int]] = None,
|
|
|
unit: Optional[Union[Var[Union[int, str]], str, int]] = None,
|
|
@@ -994,8 +998,8 @@ class Area(Cartesian):
|
|
|
stroke_width: The width of the line stroke.
|
|
|
fill: The color of the area fill.
|
|
|
type_: The interpolation type of area. And customized interpolation function can be set to type. 'basis' | 'basisClosed' | 'basisOpen' | 'bumpX' | 'bumpY' | 'bump' | 'linear' | 'linearClosed' | 'natural' | 'monotoneX' | 'monotoneY' | 'monotone' | 'step' | 'stepBefore' | 'stepAfter' |
|
|
|
- dot: If set false, dots will not be drawn. If set true, dots will be drawn which have the props calculated internally.
|
|
|
- active_dot: The dot is shown when a user enters an area chart and this chart has a tooltip. If set false, no active dot will be drawn. If set true, an active dot will be drawn which will have the props calculated internally.
|
|
|
+ dot: If false set, dots will not be drawn. If true set, dots will be drawn which have the props calculated internally.
|
|
|
+ active_dot: The dot is shown when user enter an area 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.
|
|
|
label: If set false, labels will not be drawn. If set true, labels will be drawn which have the props calculated internally.
|
|
|
stack_id: The stack id of area, when two areas have the same value axis and same stack_id, then the two areas are stacked in order.
|
|
|
unit: The unit of data. This option will be used in tooltip.
|
|
@@ -1229,8 +1233,12 @@ class Line(Cartesian):
|
|
|
] = None,
|
|
|
stroke: Optional[Union[Var[Union[Color, str]], str, Color]] = None,
|
|
|
stoke_width: Optional[Union[Var[int], int]] = None,
|
|
|
- dot: Optional[Union[Var[bool], bool]] = None,
|
|
|
- active_dot: Optional[Union[Var[bool], bool]] = None,
|
|
|
+ dot: Optional[
|
|
|
+ Union[Var[Union[Dict[str, Any], bool]], bool, Dict[str, Any]]
|
|
|
+ ] = None,
|
|
|
+ active_dot: Optional[
|
|
|
+ Union[Var[Union[Dict[str, Any], bool]], bool, Dict[str, Any]]
|
|
|
+ ] = None,
|
|
|
label: Optional[Union[Var[bool], bool]] = None,
|
|
|
hide: Optional[Union[Var[bool], bool]] = None,
|
|
|
connect_nulls: Optional[Union[Var[bool], bool]] = None,
|
|
@@ -1337,8 +1345,8 @@ class Line(Cartesian):
|
|
|
type_: The interpolation type of line. And customized interpolation function can be set to type. It's the same as type in Area.
|
|
|
stroke: The color of the line stroke.
|
|
|
stoke_width: The width of the line stroke.
|
|
|
- dot: If set false, dots will not be drawn. If set true, dots will be drawn which have the props calculated internally.
|
|
|
- active_dot: The dot is shown when a user enters an area chart and this chart has a tooltip. If set false, no active dot will be drawn. If set true, an active dot will be drawn which will have the props calculated internally.
|
|
|
+ dot: 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.
|
|
|
+ active_dot: The dot is shown when user enter an area 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.
|
|
|
label: If false set, labels will not be drawn. If true set, labels will be drawn which have the props calculated internally.
|
|
|
hide: Hides the line when true, useful when toggling visibility state via legend.
|
|
|
connect_nulls: Whether to connect a graph line across null points.
|
|
@@ -1571,6 +1579,7 @@ class Funnel(Recharts):
|
|
|
Literal["ease", "ease-in", "ease-out", "ease-in-out", "linear"],
|
|
|
]
|
|
|
] = None,
|
|
|
+ stroke: Optional[Union[Var[Union[Color, str]], str, Color]] = None,
|
|
|
style: Optional[Style] = None,
|
|
|
key: Optional[Any] = None,
|
|
|
id: Optional[Any] = None,
|
|
@@ -1642,6 +1651,7 @@ class Funnel(Recharts):
|
|
|
animation_begin: Specifies when the animation should begin, the unit of this option is ms.
|
|
|
animation_duration: Specifies the duration of animation, the unit of this option is ms.
|
|
|
animation_easing: The type of easing function. 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear'
|
|
|
+ stroke: stroke color
|
|
|
style: The style of the component.
|
|
|
key: A unique key for the component.
|
|
|
id: The id for the component.
|
|
@@ -2240,6 +2250,7 @@ class CartesianGrid(Grid):
|
|
|
fill: Optional[Union[Var[Union[Color, str]], str, Color]] = None,
|
|
|
fill_opacity: Optional[Union[Var[float], float]] = None,
|
|
|
stroke_dasharray: Optional[Union[Var[str], str]] = None,
|
|
|
+ stroke: Optional[Union[Var[Union[Color, str]], str, Color]] = None,
|
|
|
x: Optional[Union[Var[int], int]] = None,
|
|
|
y: Optional[Union[Var[int], int]] = None,
|
|
|
width: Optional[Union[Var[int], int]] = None,
|
|
@@ -2308,6 +2319,7 @@ class CartesianGrid(Grid):
|
|
|
fill: The background of grid.
|
|
|
fill_opacity: The opacity of the background used to fill the space between grid lines
|
|
|
stroke_dasharray: The pattern of dashes and gaps used to paint the lines of the grid
|
|
|
+ stroke: the stroke color of grid
|
|
|
x: The x-coordinate of grid.
|
|
|
y: The y-coordinate of grid.
|
|
|
width: The width of grid.
|