# chartist-plugin-slicedonutmargin

> Slice donut margin for Chartist.js

Latest version **0.0.2** (published 2017-02-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install chartist-plugin-slicedonutmargin
pnpm add chartist-plugin-slicedonutmargin
yarn add chartist-plugin-slicedonutmargin
bun add chartist-plugin-slicedonutmargin
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2017-02-06 |
| First published | 2017-02-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | jeromeWeb |
| Maintainers | mgrybyk |
| Keywords | chartist, plugin, donit, slice, margin |

## Links

- npm: https://www.npmjs.com/package/chartist-plugin-slicedonutmargin
- Repository: https://github.com/mgrybyk/chartist-plugin-slicedonutmargin
- Homepage: https://github.com/mgrybyk/chartist-plugin-slicedonutmargin#readme
- Issues: https://github.com/mgrybyk/chartist-plugin-slicedonutmargin/issues
- npm.io page: https://npm.io/package/chartist-plugin-slicedonutmargin

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2017-02-06
- 0.0.1 — 2017-02-06

## README

# chartist-plugin-slicedonutmargin


Simply published jeromeWeb's https://github.com/jeromeWeb/chartist-plugin-slicedonutmargin to npm


Implements a legend for [Chartist](https://github.com/gionkunz/chartist-js) charts.


## Install

```
$ npm install chartist-plugin-slicedonutmargin --save


## Usage

In an example chart:

```javascript
var chart = new Chartist.Pie('.ct-chart', {
  labels: [1, 2, 3, 4, 5, 6, 7],
  series: [
    [2, 4, 2, 5, 4, 3, 6]
  ]
}, {
  plugins: [
    Chartist.plugins.ctSliceDonutMargin({
      sliceMargin: 6
    })
  ]
});
```

or if you like


```javascript
import ChartistSliceDonutMargin from 'chartist-plugin-slicedonutmargin'

...
  plugins: [
    ChartistSliceDonutMargin({
      sliceMargin: 2
    })
  ]
...
```

---
_Source: https://npm.io/package/chartist-plugin-slicedonutmargin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
