def get_quadrant_labels(values, brackets=None):
    """Create the quadrant labels and include bracketed value if needed."""

    labels = []
    for i in range(0, len(values)):
        if brackets:
            label = '%i(%i)%%' %(values[i], brackets[i])
        else:
            label = '%i%%' %(values[i])
        labels.append(label)

    return labels