'return a single vertical bar with label and values (abs./perc.)'

def create_vBar(self, value, percent, mPerc, mPerc_neg, max_neg, mul, valSpace, bColor, border, spacer, spacer_neg):

    bar = '<table    border=0    cellspacing=0    cellpadding=0    width=100%><tr    align=center>'
    if (percent < 0):
        percent *= (-1)
        bar += (((('<td    height=' + str(spacer)) + '></td></tr><tr    align=center    valign=top><td    style="') + self.__cssLABELBG) + '">')
        bar += self.build_bar(value, self.barWidth, int(round((percent * mul))), bColor)
        bar += '</td></tr><tr    align=center    valign=top>'
        bar += (((('<td    style="' + self.__cssLABELBG) + '"    height=') + str(int(round((((mPerc_neg - percent) * mul) + valSpace))))) + '    nowrap>')
        bar += (((self.showValues < 2) and (((('<span    style="' + self.__cssPERCVALUES) + '">') + str(_number_format(percent, self.percValuesDecimals))) + '%</span>')) or '&nbsp;')
        bar += '</td>'
    else:
        bar += (((('<td    style="' + self.__cssPERCVALUES) + '"    valign=bottom    height=') + str(int(round((((mPerc - percent) * mul) + valSpace))))) + '    nowrap>')
        if (self.showValues < 2):
            bar += (str(_number_format(percent, self.percValuesDecimals)) + '%')
        bar += '</td>'
        if percent:
            bar += '</tr><tr    align=center    valign=bottom><td>'
            bar += self.build_bar(value, self.barWidth, int(round((percent * mul))), bColor)
            bar += '</td>'
        else:
            bar += (('</tr><tr><td    width=' + str((self.barWidth + (border * 2)))) + '    height=1></td>')
        if max_neg:
            bar += (((('</tr><tr><td    style="' + self.__cssLABELBG) + '"    height=') + str(spacer_neg)) + '>')
            bar += '<table    border=0    cellspacing=0    cellpadding=0><tr><td></td></tr></table></td>'
    bar += '</tr></table>'
    return bar
