Reducing cost basis when receiving dividends?

Hi, I mean that for example if I buy 1 share at $100 and then I receive a $1 dividend for that share, I’d like to be able to see a cost basis of $99 as well as show the cost basis on the graph change to that value at each dividend payout. This could be an option to enable or disable.