Is there a way to link a button to a time/price object?

 
Reversed:
I've tried using another date/time object as the button, but that either scales to the chart or the object its based off of. Is there a way to link an x/y object to an object instead of one of the chart corners?
Use CPanel library for panel. Else just coordinate your objects based on time/price or you can try to use the function to get first or last visible bar on the window and re locate based on that