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

Some kind data is not accepted #4

Open
wsw70 opened this issue Feb 12, 2019 · 0 comments
Open

Some kind data is not accepted #4

wsw70 opened this issue Feb 12, 2019 · 0 comments

Comments

@wsw70
Copy link

wsw70 commented Feb 12, 2019

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_")

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

1 participant