Gathering detailed insights and metrics for @cisdi/g2plot-react
Gathering detailed insights and metrics for @cisdi/g2plot-react
npm install @cisdi/g2plot-react
Typescript
Module System
Node Version
NPM Version
TypeScript (98.85%)
JavaScript (0.55%)
FreeMarker (0.32%)
Shell (0.28%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
1,228
Last Day
1
Last Week
3
Last Month
12
Last Year
118
MIT License
82 Stars
1,118 Commits
14 Forks
1 Branches
4 Contributors
Updated on Mar 10, 2025
Minified
Minified + Gzipped
Latest Version
0.0.1-beta.0
Package Id
@cisdi/g2plot-react@0.0.1-beta.0
Unpacked Size
85.56 kB
Size
10.51 kB
File Count
93
NPM Version
6.13.4
Node Version
13.5.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
0%
3
Compared to previous week
Last Month
-40%
12
Compared to previous month
Last Year
-55.6%
118
Compared to previous year
1
1
22
G2Plot for React 🚧
LineChart
ScatterChart
ColumnChart
StackColumnChart
GroupColumnChart
BarChart
StackBarChart
GroupBarChart
AreaChart
StackAreaChart
BubbleChart
PieChart
RingChart
RadarChart
GaugeChart
HeatmapChart
MatrixChart
ProgressChart
RingProgressChart
TinyLineChart
TinyAreaChart
TinyColumnChart
FunnelChart
LiquidChart
OverlappedComboChart
npm install @cisdi/g2plot-react
1import { LineChart } from '@cisdi/g2plot-react'
npm install
npm run build
All config defined in G2Plot
document can be used as props
Extra Props:
onMount
: (chart: Plot) => void
. triggered after chart render1import React, { useCallback } from 'react' 2import { LineChart } from '@cisdi/g2plot-react' 3import { LineConfig } from '@antv/g2plot' 4 5const config: LineConfig = { 6 height: 400, 7 title: { 8 visible: true, 9 text: '配置折线数据点样式', 10 }, 11 description: { 12 visible: true, 13 text: '自定义配置趋势线上数据点的样式', 14 }, 15 padding: 'auto', 16 forceFit: true, 17 xField: 'year', 18 yField: 'value', 19 label: { 20 visible: true, 21 type: 'point', 22 }, 23 point: { 24 visible: true, 25 size: 5, 26 }, 27 xAxis: { 28 tickCount: 10, 29 }, 30 data: [ 31 { year: '1991', value: 3 }, 32 { year: '1992', value: 4 }, 33 { year: '1993', value: 3.5 }, 34 { year: '1994', value: 5 }, 35 { year: '1995', value: 4.9 }, 36 { year: '1996', value: 6 }, 37 { year: '1997', value: 7 }, 38 { year: '1998', value: 9 }, 39 { year: '1999', value: 11 }, 40 ], 41} 42 43export default () => { 44 const handleChartMount = useCallback(chart => { 45 console.log(chart) 46 }, []) 47 return <LineChart {...config} onMount={handleChartMount} /> 48}
No vulnerabilities found.
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
SAST tool is run on all commits
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
Found 0/2 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Reason
12 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-03-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More