parent
1a3a6f4a34
commit
911c2af044
@ -138,6 +138,9 @@ class XAxis(Axis):
|
|||||||
# Ensures that all datapoints within a chart contribute to its domain calculation, even when they are hidden
|
# Ensures that all datapoints within a chart contribute to its domain calculation, even when they are hidden
|
||||||
include_hidden: Var[bool] = Var.create_safe(False)
|
include_hidden: Var[bool] = Var.create_safe(False)
|
||||||
|
|
||||||
|
# The range of the axis. Work best in conjuction with allow_data_overflow.
|
||||||
|
domain: Var[List]
|
||||||
|
|
||||||
|
|
||||||
class YAxis(Axis):
|
class YAxis(Axis):
|
||||||
"""A YAxis component in Recharts."""
|
"""A YAxis component in Recharts."""
|
||||||
|
@ -192,6 +192,7 @@ class XAxis(Axis):
|
|||||||
] = None,
|
] = None,
|
||||||
x_axis_id: Optional[Union[Var[Union[int, str]], str, int]] = None,
|
x_axis_id: Optional[Union[Var[Union[int, str]], str, int]] = None,
|
||||||
include_hidden: Optional[Union[Var[bool], bool]] = None,
|
include_hidden: Optional[Union[Var[bool], bool]] = None,
|
||||||
|
domain: Optional[Union[Var[List], List]] = None,
|
||||||
data_key: Optional[Union[Var[Union[int, str]], str, int]] = None,
|
data_key: Optional[Union[Var[Union[int, str]], str, int]] = None,
|
||||||
hide: Optional[Union[Var[bool], bool]] = None,
|
hide: Optional[Union[Var[bool], bool]] = None,
|
||||||
width: Optional[Union[Var[Union[int, str]], str, int]] = None,
|
width: Optional[Union[Var[Union[int, str]], str, int]] = None,
|
||||||
@ -320,6 +321,7 @@ class XAxis(Axis):
|
|||||||
orientation: The orientation of axis 'top' | 'bottom'
|
orientation: The orientation of axis 'top' | 'bottom'
|
||||||
x_axis_id: The id of x-axis which is corresponding to the data.
|
x_axis_id: The id of x-axis which is corresponding to the data.
|
||||||
include_hidden: Ensures that all datapoints within a chart contribute to its domain calculation, even when they are hidden
|
include_hidden: Ensures that all datapoints within a chart contribute to its domain calculation, even when they are hidden
|
||||||
|
domain: The range of the axis. Work best in conjuction with allow_data_overflow.
|
||||||
data_key: The key of data displayed in the axis.
|
data_key: The key of data displayed in the axis.
|
||||||
hide: If set true, the axis do not display in the chart.
|
hide: If set true, the axis do not display in the chart.
|
||||||
width: The width of axis which is usually calculated internally.
|
width: The width of axis which is usually calculated internally.
|
||||||
|
Loading…
Reference in New Issue
Block a user