feedzai / brushable-histogram

A time histogram with a brushable preview of the whole dataset below it
Other
91 stars 9 forks source link

Fix - newState should replace the data with an empty array if no data is available #36

Closed marlomgirardi closed 5 years ago

marlomgirardi commented 5 years ago

When we run calculateChartSizesAndDomain with an empty array as data, we expect to receive an empty array to replace the old state.