# @fm-superset-ui/legacy-preset-chart-big-number

> Superset Legacy Chart - Big Number

Latest version **0.17.56-alpha.1** (published 2021-06-11) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @fm-superset-ui/legacy-preset-chart-big-number
pnpm add @fm-superset-ui/legacy-preset-chart-big-number
yarn add @fm-superset-ui/legacy-preset-chart-big-number
bun add @fm-superset-ui/legacy-preset-chart-big-number
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.17.56-alpha.1 |
| Published | 2021-06-11 |
| First published | 2021-06-11 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 7 |
| Unpacked size | 198.1 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 352 |
| Author | Superset |
| Maintainers | funnyming |
| Keywords | superset |

## Links

- npm: https://www.npmjs.com/package/@fm-superset-ui/legacy-preset-chart-big-number
- Repository: https://github.com/apache-superset/superset-ui
- Homepage: https://github.com/apache-superset/superset-ui#readme
- Issues: https://github.com/apache-superset/superset-ui/issues
- npm.io page: https://npm.io/package/@fm-superset-ui/legacy-preset-chart-big-number

## Dependencies (7)

- [shortid](https://npm.io/package/shortid.md) ^2.2.14
- [d3-color](https://npm.io/package/d3-color.md) ^1.2.3
- [@types/shortid](https://npm.io/package/@types/shortid.md) ^0.0.29
- [@types/d3-color](https://npm.io/package/@types/d3-color.md) ^1.2.2
- [@data-ui/xy-chart](https://npm.io/package/@data-ui/xy-chart.md) ^0.0.84
- [@superset-ui/core](https://npm.io/package/@superset-ui/core.md) 0.17.55
- [@superset-ui/chart-controls](https://npm.io/package/@superset-ui/chart-controls.md) 0.17.55

## Recent versions

- 0.17.56-alpha.1 (latest) — 2021-06-11

## README

## @superset-ui/legacy-preset-chart-big-number

[![Version](https://img.shields.io/npm/v/@superset-ui/legacy-preset-chart-big-number.svg?style=flat-square)](https://www.npmjs.com/package/@superset-ui/legacy-preset-chart-big-number)
[![David (path)](https://img.shields.io/david/apache-superset/superset-ui-plugins.svg?path=packages%2Fsuperset-ui-legacy-preset-chart-big-number&style=flat-square)](https://david-dm.org/apache-superset/superset-ui-plugins?path=plugins/superset-ui-legacy-preset-chart-big-number)

This plugin provides Big Number for Superset.

### Usage

Import the preset and register. This will register the `BigNumber` and `BigNumberTotal` charts with
key `big-number` and `big-number-total`, respectively.

```js
import { BigNumberChartPreset } from '@superset-ui/legacy-preset-chart-big-number';

new BigNumberChartPreset().register();
```

or register charts one by one. Configure `key`, which can be any `string`, and register the plugin.
This `key` will be used to lookup this chart throughout the app.

```js
import {
  BigNumberChartPlugin,
  BigNumberTotalChartPlugin,
} from '@superset-ui/legacy-preset-chart-big-number';

new BigNumberChartPlugin().configure({ key: 'big-number' }).register();
new BigNumberTotalChartPlugin().configure({ key: 'big-number-total' }).register();
```

Then use it via `SuperChart`. See
[storybook](https://apache-superset.github.io/superset-ui-plugins/?selectedKind=plugin-chart-big-number)
for more details.

```js
<SuperChart
  chartType="big-number"
  width={600}
  height={600}
  formData={...}
  queriesData={[{
    data: {...},
  }]}
/>
```

---
_Source: https://npm.io/package/@fm-superset-ui/legacy-preset-chart-big-number · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
