Skip to content

Some kind data is not accepted #4

@wsw70

Description

@wsw70

Just starting with dex.js, I tried the example https://bl.ocks.org/PatMartin/0fccfddf5277e01cd5024d963f0caa70, which worked fine.

I then replaced the presidential data with

["10.1.1.1", "10.2.2.2", "22"],
["10.1.1.1", "10.2.2.2", "50"],
["10.1.1.2", "10.2.2.2", "22"],
["10.1.1.3", "10.2.2.2", "22"]

The chart crashed, DevTools show

Uncaught TypeError: Cannot read property 'id' of undefined

I did some try-and-fail tests and it looks like the data must be alphanumeric? For instance bare numbers ("45") are rejected when the data are only numbers, while numbers with an underscore are fine ("45_")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions