def clusterBy(displayObject):
    return {'name': 'clusterby', 'description': 'Cluster By', 'refresh': True, 'metadata': {'type': 'dropdown', 'values': (['None'] + sorted([f for f in displayObject.getFieldNames() if ((f not in displayObject.getKeyFields()) and (f not in displayObject.getValueFields()))])), 'default': ''}, 'validate': (lambda option: (((option in displayObject.getFieldNames()) and (option not in displayObject.getKeyFields()) and (option not in displayObject.getValueFields())), 'Cluster By value is already used in keys or values for this chart'))}
def clusterBy(displayObject):
    return {'name': 'clusterby', 'description': 'Cluster By', 'refresh': True, 'metadata': {'type': 'dropdown', 'values': (['None'] + sorted([f for f in displayObject.getFieldNames() if ((f not in displayObject.getKeyFields()) and (f not in displayObject.getValueFields()))])), 'default': }, 'validate': (lambda option: (((option in displayObject.getFieldNames()) and (option not in displayObject.getKeyFields()) and (option not in displayObject.getValueFields())), 'Cluster By value is already used in keys or values for this chart'))}