Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(svg): support gradients and patterns for background color in SVG renderer #959

Merged
merged 10 commits into from
Oct 13, 2022

Conversation

plainheart
Copy link
Collaborator

@plainheart plainheart commented Oct 9, 2022

  1. SVG renderer now supports using gradients and patterns as background and pattern supports repeat strategy (repeat-x, repeat-y, no-repeat).

  2. Fix a bug in the canvas renderer - the gradient background isn't updated due to the cache after resizing.
    Refer to the commit 81a8903.

  1. Enhance encodeBase64 compatibility.

Resolves apache/echarts#17029
Resolves apache/echarts#17735

@plainheart plainheart changed the title feat(svg): supports gradients and patterns for background color in SVG renderer feat(svg): support gradients and patterns for background color in SVG renderer Oct 9, 2022
@plainheart plainheart merged commit 2ebc6fc into master Oct 13, 2022
@plainheart plainheart deleted the svg-background branch October 13, 2022 11:03
@zhiqingchen
Copy link

hi @plainheart
Is there a plan to publish the changes?

@plainheart
Copy link
Collaborator Author

@zhiqingchen We are going to prepare for releasing v5.4.1 this week. Please keep an eye on it. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants