Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/poboisvert/next-chartist

⚛ NPM Package for React Chartist.js component - 1.5K+ Downloads
https://github.com/poboisvert/next-chartist

chartist chartist-library library nextjs nextjs13 nextjs14 npm react-chartist reactjs

Last synced: 10 days ago
JSON representation

⚛ NPM Package for React Chartist.js component - 1.5K+ Downloads

Awesome Lists containing this project

README

        

# ⚡React Blazing Fast SVG charts ⚡ (next-chartist)

A continuation of https://github.com/fraserxu/react-chartist. Feel free to push an update

> Made with create-react-library

[![NPM monthly downloads](https://img.shields.io/npm/dm/next-chartist.svg?style=flat)](https://npmjs.org/package/next-chartist)
[![NPM total downloads](https://img.shields.io/npm/dt/next-chartist.svg?style=flat)](https://npmjs.org/package/next-chartist)

NPM Package: https://www.npmjs.com/package/next-chartist

## Install

```bash
npm install --save next-chartist
```

or in \_app or layout.tsx/jsx

```bash

```

## Usage

```

```

```jsx
import React, { Component } from 'react'

import NextChartist from 'next-chartist'

class Example extends Component {

var type = "barChart"

var dataChart = {
labels: ["Speed"],
series: [1000]
}

var options = {
high: 2500,
low: 0,
reverseData: true,
distributeSeries: true,
horizontalBars: true,
chartPadding: {
right: 50
},
axisY: {
offset: 125,
onlyInteger: true
},
axisX: {
onlyInteger: true
}

}

render() {
return (

)
}
}
```

## License

MIT © [poboisvert](https://github.com/poboisvert)