@staticmethod
def get_height(value, unit):
    """
            Compute height of a value relative to unit

            Args:

                value (number): value

                unit (number): unit
        """
    if value < unit / 10.0:
        return 0
    elif value <= unit:
        return 1
    elif value <= unit * 2:
        return 2
    elif value <= unit * 3:
        return 3
    else:
        return 4
