Old chart always visible if new data is empty

Workaround to solve issue https://github.com/novus/nvd3/issues/349 from
nvd3