环形统计指标卡的示例还导入了一个方法measureTextWidth,这个方法怎么导入 · Issue #8 · stack-stark/ngx-g2plot · GitHub
Skip to content

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

Open

Description

@kunlan

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

Activity

  1. stack-stark commented on Mar 25, 2021

    @stack-stark
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions