Trendlines in line charts

Are there no trendline options in line charts or am I just missing it?

Unfortunately, the trendline option is not available yet :crying_cat_face:

I have converted this to a feature suggestion so other people can vote and share their use cases as well.

ps: I’m asking engineers whether we can achieve this with Vega-Lite Custom Chart Regression | Vega-Lite

Custom charts is/will be a powerful feature, but things like trend lines should absolutely be added to the ‘out the box’ charts … please don’t fall down the trap of not maintaining/building upon standard chart options because of the availability of creating custom charts - this will really hinder adoption from users.

(I’d put things like having Histograms and Box&Whisker plots in the same category - they’re things people expect to be able to achieve when they use a BI / data visualisation tool)

3 Likes

Thanks for sharing, definitely these options should be included in the standard charts.

My suggested approach is merely a workaround. However, the Vega-lite Custom Chart is also being tested as our future chart engine. When it becomes more stable, we will switch the current engine to Vega-lite, which will allow the default charts to have more customizations by default.

Yeah i’m playing with the vega-lite holistics beta as there is a regression statement but I’m just not familiar with it enough yet to get it working. If there’s a sample that gets implemented anyone knows of please share.

Very keen on the trend line feature - we have many users who have asked for this and have missed this functionality.

Holistics folks is there any plan to add trend lines in the near future? This has become a real issue for us lately

Hi @sm_mk @Guido_Stark and team.

We understand that this is a super helpful feature for all of our customers, and totally agree with David on his point:

please don’t fall down the trap of not maintaining/building upon standard chart options because of the availability of creating custom charts - this will really hinder adoption from users

But we have not had any plan to support the trendlines on Line Charts at the moment yet. The main reason is that we’re mainly focusing on developing our as-code modeling and improving the user experience (e.g: Performance, Data Discovery, UI-UX, etc.) in 22Q3Q4. So I’m afraid that you need to wait for us a few months before we start researching on this feature.

During this time, we highly recommend you try our Custom Chart as a workaround, particularly your team really needs this feature. I’ll work with our team to prepare a guide on building the trendlines with Custom Chart, and share with you later when we’ve done it :blush:

Thank you for your patience and understanding :blush:

2 Likes

Hi when can we expect this guide for custom chart with trendlines

1 Like

Hi guys @sm_mk, @Guido_Stark and @hari! :raising_hand_man:t2:
Just wanna let you guys know that we have put together a guide for Trendlines in chart here:
<Chart with trend line | Custom charts Library - GitHub>

Plz do check it out and let me know if it’s useful for you :+1:t2:

Oh btw, we have a GitHub repo for chart templates (such as the Trendlines above) right here: Custom charts Library - GitHub.

It’s open for contributions (with a little review assistance for our side), please feel free to add any cool charts that you’ve made on there too! :beers: