Hi guys!
Could you please give a recommendation or an example how can I create a linear trends in my bar chart in Vega?
Maybe there are some functions or templates that I can use?
Here is my graph:
Hi guys!
Could you please give a recommendation or an example how can I create a linear trends in my bar chart in Vega?
Maybe there are some functions or templates that I can use?
Here is my graph:
cc @nyuriks
Thanks
Rashmi
Hi, I am not aware of any ready-made transformations to help calculate trendline, but judging by the formula, it shouldn't be possible to manually do the needed calculation, and use a rule mark to draw it. I have posted this question in the Vega slack channel, and CCed you on it.
Thank you, Yuri. I will try to use a formula.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.