Closed jdelafon closed 8 years ago
hmmm or we can try skipping if no data is given
Definitely, because in the case when data is not empty, the condition in the accessors would be evaluated for every data point.
solve in latest release. Please reopen if it doesn't
Passing
data = {lineData}
, withlineData = []
, throwsapparently because the default accessor
(d) => d.x
does not find anyd
to act upon, so it takesundefined
instead. The following accessors solve it, but it is ugly from a user perspective:Edit: similar to #43, and probably all other charts.