#[SOLVED] D3 library randomly deciding to not load a data entry, giving rect NaN error
29 messages · Page 1 of 1 (latest)
AFAIK, yes
Not the issue
Still the same error
This is the console log
for the output of my data
how do you initialize the chart?
// Setup initial bars
bar = eventContainer.selectAll()
.data(dataSet)
.enter()
.append('rect')
.call(move)
dataSet being your input, right?
yes
try to manually provide dataset in its most basic form, see what happens
like {type: 1, y: 1, x: 1} etc
Had that as a placeholder before I connected the database to the chart
It worked fine
then break down your input, this is why screenshots are not allowed in main channels, can't copy paste 🙂
Why would I need to copy paste the errors?
try
[{nr: 3, type: 1, x: 0, y: 400, width: 40, durationType: 0, selected: 0, trainingPart: 2, theoreticalX: 0, grabX: 0}]
ah you meant like that, sorry.
try minimizing the data or steps until its working
I am so confused
It just works
now
I changed nothing
Thanks for the help good person
I'm gonna close this now
You can add [SOLVED] in thread subject