|
|
1 year ago | |
|---|---|---|
| .. | ||
| esm | 1 year ago | |
| lib | 1 year ago | |
| src | 1 year ago | |
| CHANGELOG.md | 1 year ago | |
| LICENSE | 1 year ago | |
| README.md | 1 year ago | |
| package.json | 1 year ago | |
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