Skip to content

Support customing the fill attribute of the chart component #2027

Open
@HelloAny

Description

@HelloAny
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

  1. Help users more flexibly modify the background of the Chart component.
  2. 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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions