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

Stacking percent bar charts showing incorrect percentages #1663

Closed
robations opened this issue Mar 9, 2017 · 2 comments
Closed

Stacking percent bar charts showing incorrect percentages #1663

robations opened this issue Mar 9, 2017 · 2 comments

Comments

@robations
Copy link

robations commented Mar 9, 2017

Issue Summary

Stacked percent bar charts are mis-calculating percentages.

Steps to Reproduce

  1. Data source with multiple series e.g.
Site Uptime Downtime
ABC.biz 0.99 0.01
DEF.widgets 1 0
  1. Create a bar chart with stacking = percent and assign data series correctly.

Expected: to see the Y axis range from 0–100%, tooltips to show (say) "Value: 0.99, Relative: 99%"

Actual: Y axis ranges from 0–0.01, tooltips show "Value: 0.99, Relative: 0.01%"

It seems like the values are being converted to a percentage by dividing by 100 instead of multiplying by 100. This worked as expected in v0.12.0.b2449.

Technical details:

  • Redash Version: v1.0.0-rc.2
  • Browser/OS: Chrome latest (OSX)
  • How did you install Redash: bash install script, I think.
@rafrombrc
Copy link

We've been seeing this same issue (see mozilla#41), and have it on our short-list roadmap to tackle, I think we should be digging in to it early next week.

@arikfr
Copy link
Member

arikfr commented Apr 2, 2017

Fixed in #1696.

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

No branches or pull requests

3 participants