Make the group optional when building a tooltip

Currently, if a group is not set for a vertical bar chart's bar the
tooltip will display "undefined". This will ensure that if no group is
given the group will just be left out when building the tooltip.