Added a default transparent background color to the Echarts WebView.
This commit is contained in:
parent
9fc5b29aec
commit
17872dcf22
|
|
@ -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')}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue