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

Fix: pie chart not rendering when series doesn't exist in options. #3756

Merged
merged 1 commit into from
May 5, 2019

Conversation

arikfr
Copy link
Member

@arikfr arikfr commented May 2, 2019

What type of PR is this? (check all applicable)

  • Bug Fix

Description

When new series are created due to new data in the query result, Pie chart won't render as the series isn't available in the options object.

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

Query reproducing this issue: https://redash-preview.netlify.com/queries/132/source#231

@arikfr
Copy link
Member Author

arikfr commented May 2, 2019

Preview confirms this is fixed:
https://deploy-preview-3756--redash-preview.netlify.com/queries/132#231

@kravets-levko
Copy link
Collaborator

@arikfr Just curious: do other chart types need similar fix?

@arikfr arikfr merged commit ee29cf9 into master May 5, 2019
@arikfr arikfr deleted the fix-pie branch May 5, 2019 06:04
@arikfr
Copy link
Member Author

arikfr commented May 5, 2019

@kravets-levko might be 🤷‍♂ This was just something a customer stumbled at, so I knew it exists.

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

Successfully merging this pull request may close these issues.

2 participants