Added a default transparent background color to the Echarts WebView.

This commit is contained in:
Martin Blanchette 2017-10-02 11:54:21 -04:00
parent 9fc5b29aec
commit 17872dcf22
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ export default class App extends Component {
injectedJavaScript = {renderChart(this.props)} injectedJavaScript = {renderChart(this.props)}
style={{ style={{
height: this.props.height || 400, height: this.props.height || 400,
backgroundColor: this.props.backgroundColor || 'transparent'
}} }}
source={require('./tpl.html')} source={require('./tpl.html')}
/> />