0.7.1 • Published 7 years ago

react-logarithmic-scale-graph v0.7.1

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

react-logarithmic-scale-graph

Install

$ npm install --save react-logarithmic-scale-graph

Using

In your component

import HorizontalGraph from 'react-logarithmic-scale-graph';

class GraphWrapper extends Component{
  render(){
    return(
      <div>
        <HorizontalGraph/>
      </div>
    )
  }
}

Output

initial-draft

Available props for HorizontalGraph are:

  • color: string. color for bar . (default: #a1e3e2)
  • alternateColor: string. alternateColor for bar . (default: #fde4bb)
  • barHeight: number. height of bar . (default: 35)
  • axisMargin: number. margin for the text to be displayed . (default: 40)
  • barPadding: number. padding between two bars . (default: 5)
  • sort: string. sorting values 'ascending' | 'descending'. (default: ascending)
0.7.1

7 years ago

0.7.0

7 years ago

0.6.0

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

1.0.0

7 years ago