Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

showTip Action postion参数没有起到应有的效果 #5874

Closed
Shinhwe opened this issue May 31, 2017 · 0 comments
Closed

showTip Action postion参数没有起到应有的效果 #5874

Shinhwe opened this issue May 31, 2017 · 0 comments

Comments

@Shinhwe
Copy link

Shinhwe commented May 31, 2017

One-line summary

showTip Action postion参数没有起到应有的效果

chart.dispatchAction({
type: 'showTip',
seriesIndex: 0,
dataIndex: 7,
position: function() {
alert(1);
}
});
并没有弹出alert

chart.dispatchAction({
type: 'showTip',
seriesIndex: 0,
dataIndex: 7,
position: [10,10]
});
tooltip也并没有出现在预期的[10,10]的位置

Version & Environment

  • ECharts version : v3.6.1
  • Browser version : Google Chrome 58.0.3029.110 (64-bit)
  • OS Version : MAC OSX 10.11.6 (15G1510)
@pissang pissang closed this as completed Jun 3, 2017
@pissang pissang reopened this Jun 3, 2017
@100pah 100pah closed this as completed in cfe3996 Jun 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants