Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/antvis/adjust

Adjust module for @antvis.
https://github.com/antvis/adjust

adjust dodge jitter stack

Last synced: about 2 months ago
JSON representation

Adjust module for @antvis.

Awesome Lists containing this project

README

        

# @antv/adjust

> Data `adjust` for @antv/G2.

[![](https://img.shields.io/travis/antvis/adjust.svg)](https://travis-ci.org/antvis/adjust)
![](https://img.shields.io/badge/language-javascript-red.svg)
![](https://img.shields.io/badge/license-MIT-000000.svg)
[![npm package](https://img.shields.io/npm/v/@antv/adjust.svg)](https://www.npmjs.com/package/@antv/adjust)
[![NPM downloads](http://img.shields.io/npm/dm/@antv/adjust.svg)](https://npmjs.org/package/@antv/adjust)
[![Percentage of issues still open](http://isitmaintained.com/badge/open/antvis/adjust.svg)](http://isitmaintained.com/project/antvis/adjust "Percentage of issues still open")

## Installing

```bash
npm install @antv/adjust
```

## Usage

```js
import { getAdjust } from '@antv/adjust';

// contains Dodge, Jitter, Stack, Symmetric
const Dodge = getAdjust('dodge');

const d = new Dodge();

// adjust the data
const r = d.process();
```

## License

MIT