Gathering detailed insights and metrics for @cisdi/g2plot-react
Gathering detailed insights and metrics for @cisdi/g2plot-react
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%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
81 Stars
1,174 Commits
13 Forks
1 Branches
4 Contributors
Updated on Jul 07, 2025
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%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
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
no dangerous workflow patterns detected
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool is run on all commits
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
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
18 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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