Since strings are a valid time series data items, it is incorrect for markLine to require the xAxis data point to be a number.
Version
5.0.2
Steps to reproduce
const options: ECOption = {
series: [{
markLine: {
data: [{
xAxis: "foo",
}]
}
}],
};
What is expected?
interface MarkLine1DDataItemOption {
xAxis?: number|string;
}
What is actually happening?
interface MarkLine1DDataItemOption {
xAxis?: number;
}