1.1.3 • Published 1 year ago
next-chartist v1.1.3
⚡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 Package: https://www.npmjs.com/package/next-chartist
Install
npm install --save next-chartistor in _app or layout.tsx/jsx
<script src="//cdn.jsdelivr.net/chartist.js/latest/chartist.min.js" async />Usage
<link rel="stylesheet" href="//cdn.jsdelivr.net/chartist.js/latest/chartist.min.css">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 (
<NextChartist
className={'ct-octave'}
data={dataChart}
options={options}
type={type}
/>
)
}
}License
MIT © poboisvert
1.1.3
1 year ago
1.1.2
1 year ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago