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')} />