Skip to content

Add fillShadowGradientTo option#513

Merged
Hermanya merged 10 commits into
indiespirit:masterfrom
ezrafree:main
Feb 8, 2022
Merged

Add fillShadowGradientTo option#513
Hermanya merged 10 commits into
indiespirit:masterfrom
ezrafree:main

Conversation

@ezrafree

@ezrafree ezrafree commented May 28, 2021

Copy link
Copy Markdown
Contributor

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
Copy Markdown

How we can help to move this PR forward?

@minayousseif minayousseif left a comment

Copy link
Copy Markdown

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

byanes commented Aug 9, 2021

Copy link
Copy Markdown

Any chance this can be merged?

@ezrafree

ezrafree commented Sep 2, 2021

Copy link
Copy Markdown
Contributor Author

Bump

@nick-0101

Copy link
Copy Markdown

Why hasn't this been merged?

@ezrafree

ezrafree commented Feb 4, 2022

Copy link
Copy Markdown
Contributor Author

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

Hermanya commented Feb 8, 2022

Copy link
Copy Markdown
Contributor

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