Dynamically Change Color of vector graphic with Gradient

The vector graphics tool would be much more useful if we could dynamically change to the gradient colors. It looks like the issue is associated with the adjustable gradient axis, but in general I don’t need to change the gradient axis just the colors.