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