Skip to content
项目

antoniolago/react-gauge-component

在 GitHub 查看

关于

React gauge component for data visualization.

数据与分析

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

react-gauge-component

GitHub Forgejo

React Gauge Chart Component for data visualization.

image

A gallery of preset gauges and a sandbox editor is provided so you can create and edit your gauges in the DEMO page

Quick Start

Install with your package manager

npm install react-gauge-component --save
pnpm add react-gauge-component --save
yarn add react-gauge-component.
bun add react-gauge-component.

Then import it:

import GaugeComponent from 'react-gauge-component';
//or
import { GaugeComponent } from 'react-gauge-component';

//Component with default values
<GaugeComponent />

For next.js you'll have to do dynamic import:

import dynamic from "next/dynamic";
const GaugeComponent = dynamic(() => import('react-gauge-component'), { ssr: false });

//Component with default values
<GaugeComponent />

API

API reference is auto-generated from the TypeScript types:

Forked from @Martin36/react-gauge-chart 0b24a45.

探索相关项目

加载中…