|
|
il y a 1 an | |
|---|---|---|
| .. | ||
| esm | il y a 1 an | |
| lib | il y a 1 an | |
| src | il y a 1 an | |
| CHANGELOG.md | il y a 1 an | |
| LICENSE | il y a 1 an | |
| README.md | il y a 1 an | |
| package.json | il y a 1 an | |
Mapping data to visual AES.
npm install @antv/attr
import { getAttribute } from '@antv/adjust';
// contains Color, Opacity, Position, Shape, Size
const Color = getAttribute('color');
const color = new Color({/* ... */});
// mapping data to color
const r = color.mapping('杭州');
MIT