rework X/Y plot widget