We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在 G2 官网中可以复现:
只要 G2 作为一个卡片在容器中渲染的时候,都会因为 tooltip 超出容器带来滚动条,非常不美观,解决方案有二:
chart.interaction('tooltip', { bounding: [0, 0, width, height], });
chart.interaction('tooltip', { mount: 'body', // string | HTMLElement, });
The text was updated successfully, but these errors were encountered:
hustcc
Successfully merging a pull request may close this issue.
在 G2 官网中可以复现:
只要 G2 作为一个卡片在容器中渲染的时候,都会因为 tooltip 超出容器带来滚动条,非常不美观,解决方案有二:
tooltip 限制在画布范围之内
渲染到 body 上,扩大显示范围
The text was updated successfully, but these errors were encountered: