how to create legend in bentley map

Anybody knows where to find the command on how to create auto legend from thematic output? or is it posible to do so?

Can we join any table together to generate a query?

 

thanks..