Results graph now handles varying numbers of result groups for the same query
Legend formatting tweak.