Merge pull request #64 from martinblanchette/transparent-as-default-background-color
Added a default transparent background color to the Echarts WebView.
This commit is contained in:
commit
533b572df6
|
|
@ -19,6 +19,7 @@ export default class App extends Component {
|
|||
injectedJavaScript = {renderChart(this.props)}
|
||||
style={{
|
||||
height: this.props.height || 400,
|
||||
backgroundColor: this.props.backgroundColor || 'transparent'
|
||||
}}
|
||||
scalesPageToFit={false}
|
||||
source={require('./tpl.html')}
|
||||
|
|
|
|||
Loading…
Reference in New Issue