antvis/G2

The issue has been closed
Support customing the fill attribute of the chart component #6534
HelloAny posted onGitHub
- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
- Help users more flexibly modify the background of the Chart component.
- When I adapt to the company's hybrid container, will get some error when useing 'transparent'.
What does the proposed API look like?
const { fillStyle } = props;
<group
ref={this.coordRef}
style={{
width: width,
height: height,
fill: fillStyle || 'transparent',
}}
>
...
</group>
<!-- generated by antv-issue-helper. DO NOT REMOVE -->