ramarro123 commented on issue #9188: tooltip formatter when using axis trigger URL: https://github.com/apache/incubator-echarts/issues/9188#issuecomment-428848085 umm, i have created a demo here http://jsfiddle.net/Lb4nkfcj/ i am using 4 series and a dataset with some "strange" mapping that will (eventually) allow me to create a gantt with a custom item renderer. Having said so, now the chart doesn't display anything :) that's expected... but, if i go around axe with cursor, i get "10" that's the size of dataset, not the size of series (that's 4) on params, for tooltip, i get the full dataset, so it's impossible to know at which point of axes i am. if i know the X position, then i can iterate the dataset to get the current position (or the nearest position, or whatever i want to do) but i haven't find a way to get the current X position. even if trigger is axis (expecially with trigger axis i will say) having the position/value of axis it's necessary, it allow to understand the current position of cursor.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
