0.3.5 • Published 1 year ago

@antv/attr v0.3.5

Weekly downloads
63,066
License
MIT
Repository
github
Last release
1 year ago

@antv/attr

Mapping data to visual AES.

npm.io npm.io npm package NPM downloads Percentage of issues still open

Installing

npm install @antv/attr

Usage

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('杭州');

License

MIT