default props comment for ReferenceLine (#4122)
This commit is contained in:
parent
4982b450fe
commit
cb4ff24dc0
@ -652,7 +652,7 @@ class ReferenceLine(Reference):
|
||||
# The color of the reference line.
|
||||
stroke: Var[Union[str, Color]]
|
||||
|
||||
# The width of the stroke.
|
||||
# The width of the stroke. Default: 1
|
||||
stroke_width: Var[Union[str, int]]
|
||||
|
||||
# Valid children components
|
||||
|
@ -1795,7 +1795,7 @@ class ReferenceLine(Reference):
|
||||
x: If set a string or a number, a vertical line perpendicular to the x-axis specified by xAxisId will be drawn. If the specified x-axis is a number axis, the type of x must be Number. If the specified x-axis is a category axis, the value of x must be one of the categorys, otherwise no line will be drawn.
|
||||
y: If set a string or a number, a horizontal line perpendicular to the y-axis specified by yAxisId will be drawn. If the specified y-axis is a number axis, the type of y must be Number. If the specified y-axis is a category axis, the value of y must be one of the categorys, otherwise no line will be drawn.
|
||||
stroke: The color of the reference line.
|
||||
stroke_width: The width of the stroke.
|
||||
stroke_width: The width of the stroke. Default: 1
|
||||
segment: Array of endpoints in { x, y } format. These endpoints would be used to draw the ReferenceLine.
|
||||
x_axis_id: The id of x-axis which is corresponding to the data.
|
||||
y_axis_id: The id of y-axis which is corresponding to the data.
|
||||
|
Loading…
Reference in New Issue
Block a user