Skip to content

Commit 533b572

Browse files
authored
Merge pull request #64 from martinblanchette/transparent-as-default-background-color
Added a default transparent background color to the Echarts WebView.
2 parents 7d18dbe + 17872dc commit 533b572

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Echarts/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export default class App extends Component {
1919
injectedJavaScript = {renderChart(this.props)}
2020
style={{
2121
height: this.props.height || 400,
22+
backgroundColor: this.props.backgroundColor || 'transparent'
2223
}}
2324
scalesPageToFit={false}
2425
source={require('./tpl.html')}

0 commit comments

Comments
 (0)