You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I debugged it and found an error in \src\component\tooltip\TooltipView.js
_showSeriesItemTooltip: function(e,el,dispatchAction){varecModel=this._ecModel;// Use dataModel in element if possible// Used when mouseover on a element like markPoint or edge// In which case, the data is not main data in series.varseriesIndex=el.seriesIndex;varseriesModel=ecModel.getSeriesByIndex(seriesIndex);// For example, graph link.vardataModel=el.dataModel||seriesModel;vardataIndex=el.dataIndex;vardataType=el.dataType;vardata=dataModel.getData();
dataModel.getData() always return the data of nodes, but not edges.
What is expected?
when hover to the edge 'B>C',the tooltip is ‘B>C’
What is actually happening?
when hover to the edge 'B>C',the tooltip is ‘this is A’
The text was updated successfully, but these errors were encountered:
Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.
If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to [email protected]. Please attach the issue link if it's a technical questions.
If you are interested in the project, you may also subscribe our mail list.
Version
4.4.0
Steps to reproduce
My option is like this:
the actual chart is like this
I debugged it and found an error in
\src\component\tooltip\TooltipView.js
dataModel.getData()
always return the data of nodes, but not edges.What is expected?
when hover to the edge 'B>C',the tooltip is ‘B>C’
What is actually happening?
when hover to the edge 'B>C',the tooltip is ‘this is A’
The text was updated successfully, but these errors were encountered: