Home

Awesome

react-canvas-gauges

Travis branch GitHub stars npm version npm license npm js-standard-style

Introduction

Canvas gauges component is based on canvas-gauges for React.

Installation

npm install react-canvas-gauges --save

Example

<RadialGauge
   units='°C'
   title='Temperature'
   value={this.state.temperature}
   minValue={0}
   maxValue={50}
   majorTicks={['0', '5', '15', '20', '25', '30', '35', '40', '45', '50']}
   minorTicks={2}
></RadialGauge>