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

Show median values in aggregated charts by default #154

Merged
merged 1 commit into from
Apr 23, 2018

Conversation

pluehne
Copy link
Contributor

@pluehne pluehne commented Apr 23, 2018

This switches all charts with the first aggregation strategy to median aggregation.

Previously, chart views with aggregated data just showed the first value of each time period. The median value might be a better choice, because it is more representative of the data than just picking the first value available. The arithmetic mean was also considered as a choice, but is expected not to even out sporadic effects such as public holidays as nicely as the median function.

This switches all charts with the “first” aggregation strategy to
“median” aggregation.

Previously, chart views with aggregated data just showed the first value
of each time period. The median value might be a better choice, because
it is more representative of the data than just picking the first value
available. The arithmetic mean was also considered as a choice, but is
expected not to even out sporadic effects such as public holidays as
nicely as the median function.
@pluehne pluehne self-assigned this Apr 23, 2018
Copy link
Collaborator

@larsxschneider larsxschneider left a comment

Choose a reason for hiding this comment

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

Nice! Great way to ignore the effects of weekends and public holidays.

@larsxschneider larsxschneider merged commit cf0e9d1 into master Apr 23, 2018
@larsxschneider larsxschneider deleted the patrick/show-median-values branch April 23, 2018 14:24
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