KhoaLee opened a new issue, #19759: URL: https://github.com/apache/echarts/issues/19759
### What problem does this feature solve? In the previous version, we only have the option for chart click in which we can click on xAxis or data point of the line chart. The event object will return including the value for the value of xAxis, such as the image below:  In the above image we can see the the property "name" which is the value of the xAxis for the chart click event on xAxis or data point value on line chart However, with the event object returned from the triggerLineEvent option for series line chart, the object is missing only that property which is very useful in some feature for the website. The following image show the properties of the event object from the option triggerLineEvent.  ### What does the proposed API look like? My propose API will be the we can add one more property which is associated with the value of the xAxis on the area or line of the line chart that is clicked. It is gonna be like this: { componentIndex: 2 componentSubType: "line" componentType: "series" event: {event object} seriesIndex: 2 seriesName: "test 1" seriesType: "line" **xAxisValue: "March 19, 2024"** <-- this is the new property that I propose we should have type: "click" } -- 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]
