mirror of
https://github.com/apache/superset.git
synced 2024-09-20 04:29:47 -04:00
2923a9318d
* feat: add .getLegendInformation() * fix: lint * test: add unit test * feat: revise how legend information is computed * fix: address comments |
||
---|---|---|
.. | ||
src | ||
test | ||
types/d3-scale | ||
package.json | ||
README.md |
@superset-ui/encodable
This package provides standardized API for encodable components and adopts the grammar from vega-lite
grammar and copy their logic for determining smart defaults (e.g. choosing scale type based on data type, etc.)
In addition, it leverages sibling superset-ui
packages to use the number and time formatters as well as color scales.
Example usage
import { xxx } from '@superset-ui/encodable';
API
fn(args)
- Do something
Development
@data-ui/build-config
is used to manage the build configuration for this package including babel
builds, jest testing, eslint, and prettier.