While experimenting with random date values, trying to figure out how I would use vue-timeline-chart in my application, I've found that, if you mix up the order of your viewportMin and viewportMax, your page freezes and you consume infinite memory until your browser tab crashes from running out of memory.
e.g. consider the following from the Getting Started page, with the viewportMin / viewportMax flipped
This is an easy mistake to make when trying to randomly plug new Date().getTime() in random places to observe how the graph changes. I'm not sure if other places that consume times may also have this issue. Ideally, vue-timeline-chart would not cause infinite memory usage, and perhaps throw an error saying that viewportMin must be before viewportMax, etc.
While experimenting with random date values, trying to figure out how I would use
vue-timeline-chart
in my application, I've found that, if you mix up the order of yourviewportMin
andviewportMax
, your page freezes and you consume infinite memory until your browser tab crashes from running out of memory.e.g. consider the following from the Getting Started page, with the
viewportMin
/viewportMax
flippedThis is an easy mistake to make when trying to randomly plug
new Date().getTime()
in random places to observe how the graph changes. I'm not sure if other places that consume times may also have this issue. Ideally,vue-timeline-chart
would not cause infinite memory usage, and perhaps throw an error saying thatviewportMin
must be beforeviewportMax
, etc.