Remove tabs when no data is available for graphs

When no data is available for graphs, currently a no data available image is displayed. If no data is available for both graphs, the tab should be hidden.