1.0.0-beta.1 • Published 3 years ago

rn-apache-echarts v1.0.0-beta.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

rn-apache-echarts

A apache echarts component for React Native

NPM Version

Install

yarn add rn-apache-echarts

Peer Dependencies

"react": ">= 16.13.1",
"react-native": ">= 0.63.4"
"react-native-webview": ">= 11.3.2"

Props

PropTypeDefaultRequiredDescription
heightnumber400YChart area height
optionobjectnullYChart data configuration items, see details:https://echarts.apache.org/zh/option.html#title
backgroundColorstringtransparentNChart background color
themeNamestring-NThere are only six officially available themes:vintage || dark || macarons || infographic || shine || roma
webViewSettingsobjectnullNCustomize WebView container properties
formatterVariableobjectnullNIf option’formatter function need variable,can use this.
customMapDataobjectnullNFor 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