0.2.4 • Published 5 years ago

react-chart-histogram v0.2.4

Weekly downloads
458
License
MIT
Repository
github
Last release
5 years ago

react-chart-histogram

Install

yarn add react-chart-histogram

Usage

import Histogram from 'react-chart-histogram';
...
render() {
  const labels = ['2016', '2017', '2018'];
  const data = [324, 45, 672];
  const options = { fillColor: '#FFFFFF', strokeColor: '#0000FF' };
  return (
    <div>
      <Histogram
          xLabels={labels}
          yValues={data}
          width='400'
          height='200'
          options={options}
      />
    </div>
  )
}

See it in action!

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago