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

Add auto lib #5449

Closed
4 tasks
pearmini opened this issue Aug 23, 2023 · 0 comments · Fixed by #5585
Closed
4 tasks

Add auto lib #5449

pearmini opened this issue Aug 23, 2023 · 0 comments · Fixed by #5585
Assignees
Milestone

Comments

@pearmini
Copy link
Member

pearmini commented Aug 23, 2023

Auto Lib

添加 auto lib,主要包含 auto mark。给 G2 添加智能分析的能力,同时将 AVA 的能力通过 G2 展现给 G2 的用户:在 G2 点官网上直接投出,并且提供到 AVA 的链接。

开始使用

可以直接使用 Chart:

import { Chart } from '@antv/g2';

也可以按需打包 Chart:

import { Runtime, corelib, autolib, extend } from '@antv/g2';

const Chart = extend(Runtime, { ...corelib(), ...autolib() });

然后如下使用:

const chart = new Chart();

// API
chart.auto().data(data);

// Options
chart.options({ type: 'auto', data });

TODO

  • code
  • test
  • docs
  • demos
@hustcc hustcc added this to the 主题(2023/09) milestone Aug 25, 2023
@ixuxinyue ixuxinyue mentioned this issue Sep 22, 2023
4 tasks
@pearmini pearmini modified the milestones: 主题(2023/09), 5.1.5 Sep 25, 2023
@pearmini pearmini linked a pull request Sep 28, 2023 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants