$ cnpm install @antv/chart-advisor
English | 简体中文
Chart Advisor
AVA/chart-advisor<div id="mountNode"></div>
import { autoChart } from '@antv/chart-advisor';
const container = document.getElementById('mountNode');
const data = [
{field1: 'a', field2: '100'},
{field1: 'b', field2: '300'},
{field1: 'c', field2: '800'},
];
autoChart(container, data, {toolbar: true, development: true});
Recommend a list of specifications of charts by analyzing given dataset and user options.
Automatically render recommended charts in your containers.
$ npm install @antv/chart-advisor
import { autoChart } from '@antv/chart-advisor';
autoChart(container, data, {toolbar: true, development: true});
This project is still an alpha version. We eagerly welcome any contribution.
If you are going to use it in your official online project, please lock the version and follow our updates.
We welcome all contributions. Please read General Contribution Guide first.
You can submit any ideas as pull requests or as GitHub issues. Let's build a better AVA together.
MIT
ChartCube - Online chart making tool based on G2Plot.
Copyright 2014 - 2017 © taobao.org |