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

Skewed right-most tick on chart when resolution > 1 and data above maximum point not available #6

Open
kristovatlas opened this issue Jan 5, 2016 · 1 comment
Assignees
Labels

Comments

@kristovatlas
Copy link
Owner

For example, if we try to chart blocks 0 to 50 with a resolution of 10 and no data is available for blocks 51+, we'll get:

0-9: ten blocks of data divided by ten blocks
10-19: ""
20-29: ""
30-39: ""
40-49: ""
50-50: one block of data divided by ten blocks

for the last tick, divide by at most the number of blocks we actually have data for and not by block_resolution.

@kristovatlas kristovatlas self-assigned this Jan 5, 2016
@kristovatlas
Copy link
Owner Author

I thought I had already addressed this in db.Database.get_blame_stats_for_block_span_and_resolution, so it's possible I'm not correctly assessing the root cause.

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

No branches or pull requests

1 participant