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

Perspective schema does not map aggregates to their correct types #183

Closed
sc1f opened this issue Aug 8, 2018 · 1 comment
Closed

Perspective schema does not map aggregates to their correct types #183

sc1f opened this issue Aug 8, 2018 · 1 comment
Assignees
Labels
bug Concrete, reproducible bugs

Comments

@sc1f
Copy link
Contributor

sc1f commented Aug 8, 2018

When aggregates producing float values are applied to integer values, the output numbers are floats while the schema still treats them as integers.

Issue is visible when hovering over distinct float values, as the tooltip uses the schema to correctly parse data. Because the schema treats Score 1 as an integer instead of a float average, the tooltip parser cannot treat the value correctly.

Aggregations that produce float values:

  • avg
  • mean
  • pct sum parent
  • pct sum grand total

screen shot 2018-08-08 at 10 10 23 am
Schema shows integer when the data is a float.

screen shot 2018-08-08 at 10 10 04 am
Hover tooltip shows integer when data is a float.

@sc1f sc1f self-assigned this Aug 8, 2018
@sc1f sc1f added the bug Concrete, reproducible bugs label Aug 8, 2018
@texodus texodus mentioned this issue Aug 9, 2018
@texodus
Copy link
Member

texodus commented Aug 9, 2018

Fixed in 0.1.19

@texodus texodus closed this as completed Aug 9, 2018
texodus pushed a commit that referenced this issue May 13, 2019
use the native d3 treemap functionality to calculate the new coordina…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs
Projects
None yet
Development

No branches or pull requests

2 participants