Skip to content

Histogram + groupby transform bug #3216

@alexcjohnson

Description

@alexcjohnson

See https://codepen.io/alexcjohnson/pen/bQdeyB?editors=1010

Actually there are two bugs here.

  • Hover seems to only show unique y values (groups 4, 5, 6 have y: 1 here but they aren't shown):
    screen shot 2018-11-05 at 3 45 09 pm
  • Sometimes - seems like it's when there's an empty bin but data later in the trace - we get an error thrown. Here's hovering on column 4 on the same plot using a dev bundle:
Uncaught TypeError: Cannot read property 'length' of undefined
    at Object.makeEventData (helpers.js:133) // components/fx/helpers.js
    at _hover (hover.js:665)
    at hover.js:75
    at exec (throttle.js:48)
    at Object.throttle (throttle.js:57)
    at Object.hover (hover.js:72)
    at SVGRectElement.maindrag.onmousemove (graph_interact.js:67)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions