Closed jdelafon closed 8 years ago
When not specifying viewBoxObject in a BarChart, it throws
viewBoxObject
BarChart
DOMPropertyOperations.js:147Error: <rect> attribute width: Expected length, "NaN". Error: <rect> attribute x: Expected length, "NaN".
Same error if the accessors are wrong and no x nor y can be accessed.
The error message should be improved.
probably related to https://github.com/yang-wei/rd3/issues/65 ?
Can you submit a jsfiddle This shouldn't be a bug
Now I can't reproduce it either... I'll reopen with a fiddle when I encounter it again.
When not specifying
viewBoxObject
in aBarChart
, it throwsSame error if the accessors are wrong and no x nor y can be accessed.
The error message should be improved.