From 17872dcf225c6e21bc2021f27e12e74db1aef150 Mon Sep 17 00:00:00 2001 From: Martin Blanchette Date: Mon, 2 Oct 2017 11:54:21 -0400 Subject: [PATCH] Added a default transparent background color to the Echarts WebView. --- src/components/Echarts/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Echarts/index.js b/src/components/Echarts/index.js index c0e23bd..ba8ab1d 100644 --- a/src/components/Echarts/index.js +++ b/src/components/Echarts/index.js @@ -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' }} source={require('./tpl.html')} />