Skip to content

kokim2022/react-gauge-meter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-gauge-meter

Install

$ npm install react-gauge-meter

Usage

For Demo, you can see: https://kokim2022.github.io/react-gauge-meter/

import ReactGaugeMeter from 'react-gauge-meter'; 

<ReactGaugeMeter
  firstColor="red"
  secondColor="green"
  thirdColor="blue"
  value={50}
  style={{height: '500px', width: '100%'}}
/>

Props of Component

  • firstColor (required, color) for example: #67e0e3 or red

  • secondColor (required, color)

  • thirdColor (required, color)

  • style (optional, object)

the style of echarts div. object, default is {height: '300px'}.

LICENSE

MIT@kokim2020.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published