Anyone got any ideas on how to change a trend line in a chart from say, Linear, to say, Average, just using a toggle switch or a radio button and keeping the periods to show the same?

Thanks