Add xcoord/ycoord option for MarkLineItem
@@ -209,7 +209,9 @@ class MarkLineItem(BasicOpts):
name: Optional[str] = None,
type_: Optional[str] = None,
x: Union[str, Numeric, None] = None,
+ xcoord: Union[str, Numeric, None] = None,
y: Union[str, Numeric, None] = None,
+ ycoord: Union[str, Numeric, None] = None,
value_index: Optional[Numeric] = None,
value_dim: Optional[str] = None,
coord: Optional[Sequence] = None,
@@ -222,7 +224,9 @@ class MarkLineItem(BasicOpts):
"valueIndex": value_index,
"valueDim": value_dim,
"xAxis": x,
+ "x": xcoord,
"yAxis": y,
+ "y": ycoord,
"coord": coord,
"symbol": symbol,
"symbolSize": symbol_size,
