Skip to content

Error thrown on category scale when elements are missing #2990

@tiagoroldao

Description

@tiagoroldao

The latest change to core.controller requests !meta.data[found._index]._view.skip without checking for meta.data[found._index]'s existence, in line 417, causing an error to throw if all data arrays aren't of the same length.

Hover over the last pair of bars here to see error in console:
http://plnkr.co/edit/TEjG1eVa8z5odfPAq5n3?p=preview

This is nonexistent in 2.1.6.

[The reason I found this is due to seeking to create category controllers that can use "coordinates" (e.g. {x: "labelName", y: value} (WIP, obviously).]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions