embedded graph in ui elements