Skip to content

[Feat]: 是否缺少一个mount()方法 #6917

@BryanAdamss

Description

@BryanAdamss

Describe the feature / 功能描述

使用的版本:v5.3.2
现在在new Chart()时传入container节点或selector字符串
有些场景,需要先创建Chart实例,设置好图表数据后,最后再传入container,挂载到页面上;

考虑提供mount()方法实现动态挂载能力吗?

如果不考虑提供,那在创建Chart实例后,修改_container能达到一样效果?

Are you willing to contribute? / 是否愿意参与贡献?

Please select / 请选择

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for maintainerTriage or intervention needed from a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions