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 error with empty chart views #134

Merged
merged 1 commit into from
Feb 27, 2018
Merged

Conversation

pluehne
Copy link
Contributor

@pluehne pluehne commented Feb 27, 2018

When aggregating over only few data points, the weekly-aggregated views might end up empty. This led to an error, because the chart generation relied on the data not to be empty.

This adds a corresponding check, which prevents the error and shows an empty chart as expected.

Instead of showing users empty charts, views with no data should be hidden from the users. This will be addressed separately (tracked in issue #133).

Note that with the meek amounts of demo data that we currently have, many chart views in the interactive demo end up empty. This should be addressed as suggested in #132.

Fixes #128.

When aggregating over only few data points, the weekly-aggregated views
might end up empty. This led to an error, because the chart generation
relied on the data not to be empty.

This adds a corresponding check, which prevents the error and shows an
empty chart as expected.

Instead of showing users empty charts, views with no data should be
hidden from the users. This will be addressed separately.
@pluehne pluehne added the bug label Feb 27, 2018
@pluehne pluehne self-assigned this Feb 27, 2018
@pluehne pluehne added this to To Do in Hubble Enterprise 0.3.0 via automation Feb 27, 2018
@larsxschneider larsxschneider merged commit a3d3547 into master Feb 27, 2018
Hubble Enterprise 0.3.0 automation moved this from To Do to Done Feb 27, 2018
@larsxschneider larsxschneider deleted the patrick/fix-empty-views branch February 27, 2018 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants