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

环形统计指标卡的示例还导入了一个方法measureTextWidth,这个方法怎么导入 #8

Open
kunlan opened this issue Mar 6, 2021 · 1 comment

Comments

@kunlan
Copy link

kunlan commented Mar 6, 2021

import { Pie, measureTextWidth } from '@antv/g2plot';

@stack-stark
Copy link
Owner

不好意思,最近有点忙,今天才看你的问题,抱歉。 我看了一下,这里的measureTextWidth 是可以像示例一样引入的,@antv/g2plot是已经在node_modules里了。如下
image

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