You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2020/04/21 19:39:51 UTC
[incubator-echarts] branch master updated: Feature: add tooltip for
edges(links) (#12006)
This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/master by this push:
new 91f2dd5 Feature: add tooltip for edges(links) (#12006)
new 8084fe3 Merge pull request #12011 from susiwen8/#12006
91f2dd5 is described below
commit 91f2dd58354bceee3cca158f3f2168ce5fb5c885
Author: susiwen8 <su...@gmail.com>
AuthorDate: Fri Jan 10 14:47:28 2020 +0800
Feature: add tooltip for edges(links) (#12006)
---
src/component/tooltip/TooltipView.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/component/tooltip/TooltipView.js b/src/component/tooltip/TooltipView.js
index 6931652..d2d13cb 100644
--- a/src/component/tooltip/TooltipView.js
+++ b/src/component/tooltip/TooltipView.js
@@ -483,7 +483,7 @@ export default echarts.extendComponentView({
var dataModel = el.dataModel || seriesModel;
var dataIndex = el.dataIndex;
var dataType = el.dataType;
- var data = dataModel.getData();
+ var data = dataModel.getData(dataType);
var tooltipModel = buildTooltipModel([
data.getItemModel(dataIndex),
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org