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

Fixes #1562 #1165 #1158 #1062 #808 #672 #1637

Merged
merged 1 commit into from
Jun 10, 2021

Conversation

bobbyg603
Copy link
Contributor

@bobbyg603 bobbyg603 commented Jun 10, 2021

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior? (You can also link to an open issue here)

Line charts display a gray solid fill instead of a colored gradient when additional series are added to the input "results" as shown in #1158 and demonstrated by this stackblitz.

ngx-charts-bug.mov

What is the new behavior?

Line charts show a colored gradient as demonstrated by this stackblitz

ngx-charts-fix.mov

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

Calls update before starting animations to fix gradientId, gradientFill, and gradientStops undefined when data changes.

Fixes #1562
Fixes #1165
Fixes #1158
Fixes #1062
Fixes #808
Fixes #672

Calls update before starting animations to fix gradientId, gradientFill, and gradientStops undefined when data changes.
@bobbyg603
Copy link
Contributor Author

We released a mirrored version of the package the includes the fix @bugsplat/ngx-charts. I tested using this package in all the stackblitz links in the linked issues. I was able to confirm the fix worked in all but #1062 which appears to be a dup of #1165 where I was able to successfully test the fix.

@marjan-georgiev
Copy link
Member

Thanks Bobby!

@bobbyg603 bobbyg603 deleted the bobbyg603/issue1158 branch June 10, 2021 17:09
hilel pushed a commit to hilel/ngx-charts that referenced this pull request Dec 26, 2021
Calls update before starting animations to fix gradientId, gradientFill, and gradientStops undefined when data changes.
hilel pushed a commit to hilel/ngx-charts that referenced this pull request Dec 26, 2021
Calls update before starting animations to fix gradientId, gradientFill, and gradientStops undefined when data changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment