The calculation for the annualised gain is:
((v/b)^(365/d)-1)*100%
v = current value
b = cost basis
d = days held
In order to display the annualised gain, edit your portfolio to include the price paid along with the date of purchase. The "Annualised Gain" column also needs to be selected in the view with which you wish to display this information.