Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lloydzhou/g2x
React component wrapper for @antv/g2
https://github.com/lloydzhou/g2x
antv component g2 g2plot g2x react typescript
Last synced: 27 days ago
JSON representation
React component wrapper for @antv/g2
- Host: GitHub
- URL: https://github.com/lloydzhou/g2x
- Owner: lloydzhou
- License: mit
- Created: 2023-05-15T11:45:51.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-15T16:10:09.000Z (about 1 year ago)
- Last Synced: 2024-11-25T01:11:09.103Z (about 1 month ago)
- Topics: antv, component, g2, g2plot, g2x, react, typescript
- Language: TypeScript
- Homepage: https://lloydzhou.github.io/g2x/
- Size: 390 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# g2x
React component wrapper for [@antv/g2](https://github.com/antvis/g2).
## demo
```
function App() {return (
<>
console.log('before render', e)} onElementClick={e => console.log('element click',e)} onIntervalClick={e => console.log('Interval click', e)} onAfterChangeData={e => console.log('before change data', e)}>
>
)
}
```![image](https://github.com/lloydzhou/antv-g2-react/assets/1826685/759ca66d-6d1b-428b-a651-172db3147dbb)