Here are the methods in GraphModifier the signals were connected to. The camera is controlled via the scene object. This time we specify the actual camera position along the orbit around the center point, instead of specifying a preset camera angle:

The QPropertyAnimationm_animationCameraTarget targets Q3DCamera::target property, which takes a value normalized to the range (-1, 1). We figure out where the selected bar is relative to axes, and use that as the end value for m_animationCameraTarget: