Variables attached to graph properties

Hello ,

Im trying to provide an input box that is linked to a graph property . Im thinking a variable might do the trick. The idea is a user can change each lines Ymin and Ymax settings seperately. The concept would extend to other properties as well.