Fixes for NaN problem with ui.graph() on visits being 0