0.1.3 • Published 6 years ago

react-mini-chart v0.1.3

Weekly downloads
150
License
MIT
Repository
github
Last release
6 years ago

react-mini-chart

Simple react mini line chart using SVG. Suitable for tiny chart outline in table cell. Display value label when mouse over points.

Install

// npm
npm install react-mini-chart

// or use yarn
yarn add react-mini-chart

Preview

react-mini-chart-preview

Usage

default

<MiniChart dataSet={[0, -20, 343, 49.3, -100, 200, 78]}/>

custom

<MiniChart
  strokeColor="#FF6600"
  activePointColor="#FF6600"
  activePointRadius={8}
  strokeWidth={5}
  labelFontSize={50}
  width={500}
  height={100}
  dataSet={[0, -20, 343, 49.3, -100, 200, 78]}
/>
0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago