jiawulin001 commented on issue #16835:
URL: https://github.com/apache/echarts/issues/16835#issuecomment-1089874335
Not sure what effect you are looking for, but it seems to be a problem in
the way you specify the beginning and ending point.
Is the following effect what you want?
<details>
<summary>Code Example</summary>
```
options = {
xAxis: { type: 'category' },
yAxis: { type: 'value' },
series: [
{
type: 'bar',
xAxisIndex: 0,
yAxisIndex: 0,
data: [
['Jan', 12003],
['Fev', 14973],
['Ran', 20998]
],
markLine: {
data: [
[
{
coord:[ 'Jan', 15034],
symbol: 'none',
lineStyle: { color: 'red' },
label: { show: true }
},
{
coord:[ 'Ran', 16573],
symbol: 'none'
}
]
]
}
}
]
};
```
</details>
If not, please tell me more details.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]