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

Add fillShadowGradientTo option #513

Merged
merged 10 commits into from
Feb 8, 2022
Merged

Add fillShadowGradientTo option #513

merged 10 commits into from
Feb 8, 2022

Conversation

ezrafree
Copy link
Contributor

@ezrafree ezrafree commented May 28, 2021

In an effort to allow for a linear gradient shadow fill that blends one color into another, this PR replaces fillShadowGradient and fillShadowGradientOpacity with new "To" and "From" options:

  • fillShadowGradientFrom
  • fillShadowGradientFromOpacity
  • fillShadowGradientTo
  • fillShadowGradientToOpacity

In the AbstractChart component, if fillShadowGradientTo is provided in the chart config, then it's used for the second <Stop> SVG element, otherwise fillShadowGradientFrom is used. Similarly, if fillShadowGradientToOpacity is provided, then that's used for the second <Stop> SVG element's opacity, otherwise a default value of 0 is used.

Lastly, it maintains backwards compatibility with the current fillShadowGradient and fillShadowGradientOpacity options.

@ezrafree ezrafree changed the title Main Add fillShadowGradientTo option May 28, 2021
@minayousseif
Copy link

How we can help to move this PR forward?

Copy link

@minayousseif minayousseif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@byanes
Copy link

byanes commented Aug 9, 2021

Any chance this can be merged?

@ezrafree
Copy link
Contributor Author

ezrafree commented Sep 2, 2021

Bump

@nick-0101
Copy link

Why hasn't this been merged?

@ezrafree
Copy link
Contributor Author

ezrafree commented Feb 4, 2022

it's coming up on a year since this PR was submitted back in May of 2021... I believe perhaps this project has been abandoned unfortunately.

@Devorein @Hermanya @noktigula @sreuter anyone have any further information for us?

@Hermanya Hermanya merged commit f30a37d into indiespirit:master Feb 8, 2022
@Hermanya
Copy link
Contributor

Hermanya commented Feb 8, 2022

Thank you for your contribution 👍 this is now available in v6.12.0

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

Successfully merging this pull request may close these issues.

6 participants