@antv/adjust

The adjust module for G2, F2.

Usage no npm install needed!

<script type="module">
  import antvAdjust from 'https://cdn.skypack.dev/@antv/adjust';
</script>

README

@antv/adjust

Data adjust for @antv/G2.

npm package NPM downloads Percentage of issues still open

Installing

npm install @antv/adjust

Usage

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