epochjs / epoch

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

Closes #200; Fixed tick updates with no data. #203

Closed rsandor closed 9 years ago

rsandor commented 9 years ago

The Epoch.Time.Plot._updateTicks method was not checking to see if there were any ticks before it attempted to determine if a tick was outgoing. This caused an out-of-bounds error in the method causing the chart to fail during transition.