@alauda/chart
Version:
Alauda Chart components by Alauda Frontend Team
59 lines (40 loc) • 1.9 kB
Markdown
# @alauda/chart
[](https://github.com/alauda/chart/actions/workflows/ci.yml)
[](https://github.com/plantain-00/type-coverage)
[](https://www.npmjs.com/package/@alauda/chart)
[](https://github.com/alauda/chart/releases)
[](https://conventionalcommits.org)
[](https://renovatebot.com)
[](https://standardjs.com)
[](https://github.com/prettier/prettier)
[](https://github.com/atlassian/changesets)
> Alauda Chart components by Alauda Frontend Team
## TOC <!-- omit in toc -->
- [Usage](#usage)
- [Install](#install)
- [API](#api)
- [Changelog](#changelog)
- [License](#license)
## Usage
### Install
```sh
# pnpm
pnpm add @alauda/chart
# yarn
yarn add @alauda/chart
# npm
npm i @alauda/chart
```
### API
```js
import { Chart } from '@alauda/chart';
Chart({
container: document.querySelector('#chart-container'),
});
```
## Changelog
Detailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).
## License
[MIT][] © [Alauda][]
[alauda]: https://www.alauda.cn/
[mit]: http://opensource.org/licenses/MIT