only render bar label if the bar was rendered + fixed dataset construction. fixed #139