Plotting percentage change

Hi all.
I am trying to plot on yaxis not only the numbers but on the right side - the percentage change
I’ve been using Go.scatter and using rangeselector but i can’t seem to find find how to make it dynamic
for example at every stock website they have a dynamic change of %
thank you