I just wanted to post that this trendline component has a massive flaw - the purpose of a trendline is to predict the future, however, I cannot for the life of me figure out a way to create this trendline for data with no X axis entries.
Ultimately, this is far past my expertise - can anyone else hop in to help?