用于React原生的 ichart

时间:2021-06-08 16:17:27
【文件属性】:
文件名称:用于React原生的 ichart
文件大小:59KB
文件格式:ZIP
更新时间:2021-06-08 16:17:27
React Native Awesome Components react-native-ichart ichart 用于基于 ichart 的 react-native:https://github.com/wanghetommy/ichartjs 安装 $ npm i react-native-ichart --save Usage 初始化一个名为“IchartExample”的新项目,以及将以下代码放入index.ios.js,即可看到demo。 '使用严格'; 从'react-native'导入React; 从'react-native-ichart'导入IChart; const { 视图、组件、AppRegistry } = React; const 样式 = { icart: { 宽度: 320, 高度: 240 } }; export default class IchartExample extends Component { renderChart() { var data = [{ name: '北京', value: [-9, 1, 12, 20, 26, 30, 32, 29, 22, 12, 0, -6 ], 颜色: '
【文件预览】:
react-native-ichart-master
----lib()
--------ichart-wrapper.js(212KB)
----LICENSE(11KB)
----README.md(2KB)
----.gitignore(20B)
----index.js(2KB)
----package.json(588B)

网友评论