Skip to content

boderRadius for image in backgroundColor option of rich text doesn't crop the image. #12689

Closed

Description

@rajshivam

This issue is not created by echarts-issue-helper and will be soon closed.

Trying to add an image in treemap label, borderRadius doesn't apply to the image in backgroundColor.

Kindly refer the code snippet below:

label: { formatter: "{a}", rich : { a: { backgroundColor: { image: <some image link> }, height: 46, width: 46, borderWidth: 2, borderRadius: 23, borderColor: "#fff" } }
This shows a circular border on top of the background image.
Along with the circular border, the background image should be cropped.

Activity

  1. github-actions commented on May 24, 2022

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

  2. added
    stale
    on May 24, 2022
  3. github-actions commented on Jun 1, 2022

    @github-actions
    Contributor

    This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

  4. zerosrat commented on Jun 22, 2022

    @zerosrat

    I encouter the same issue. Is there any solutions?

  5. princ09 commented on Jul 8, 2024

    @princ09

    Is there any solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions