What problem does this feature solve?
I want to draw a horizontal mark line which is parallel to the y-axis. It should be ranged from the min value to the max value of the y-axis. What I did is:
markLine: {
data: [ { name: 'xxxx', xAxis: 2 } ]
}
With this approach, I am not able to set symbol styles for the endpoint of this mark line. Because when I provide an array with only xAxis, the mark line won't be shown.
markLine: {
data: [
[ { name: 'xxxx', xAxis: 2 , symbol: 'rect'} ,
{ name: 'xxxx', xAxis: 2, symbol: 'arrow' }]
]
}
I don't want to provide specific yAxis values for both of them.
What does the proposed API look like?
Mark line should allow us to provide styles for the start point and endpoint of a mark line is this case.
What problem does this feature solve?
I want to draw a horizontal mark line which is parallel to the y-axis. It should be ranged from the min value to the max value of the y-axis. What I did is:
With this approach, I am not able to set symbol styles for the endpoint of this mark line. Because when I provide an array with only xAxis, the mark line won't be shown.
I don't want to provide specific yAxis values for both of them.
What does the proposed API look like?
Mark line should allow us to provide styles for the start point and endpoint of a mark line is this case.