epochjs / epoch

A general purpose, real-time visualization library.
http://epochjs.github.io/epoch
MIT License
4.97k stars 278 forks source link

TypeError: layer.values is undefined #228

Closed nssantos closed 8 years ago

nssantos commented 8 years ago

I'm getting the following error when I try to render a real time chart bar: TypeError: layer.values is undefined

To be more specific, the error occur on this line: start = Math.max(0, layer.values.length - this.options.historySize);

I'm using the latest d3 v3 version, since the more recent version does not work with epoch.

nssantos commented 8 years ago

The problem was in the data type.