1.0.0-beta.1 • Published 3 years ago
rn-apache-echarts v1.0.0-beta.1
rn-apache-echarts
A apache echarts component for React Native
Install
yarn add rn-apache-echarts
Peer Dependencies
"react": ">= 16.13.1",
"react-native": ">= 0.63.4"
"react-native-webview": ">= 11.3.2"
Props
Prop | Type | Default | Required | Description |
---|---|---|---|---|
height | number | 400 | Y | Chart area height |
option | object | null | Y | Chart data configuration items, see details:https://echarts.apache.org/zh/option.html#title |
backgroundColor | string | transparent | N | Chart background color |
themeName | string | - | N | There are only six officially available themes:vintage || dark || macarons || infographic || shine || roma |
webViewSettings | object | null | N | Customize WebView container properties |
formatterVariable | object | null | N | If option’formatter function need variable,can use this. |
customMapData | object | null | N | For custom maps, null is a world map. See the following usage examples |
Contributing
If you want to add some features, feel free to submit PR.
1.0.0-beta.1
3 years ago
1.0.0-beta.0
3 years ago