{"id":4335,"date":"2016-12-31T03:00:09","date_gmt":"2016-12-30T19:00:09","guid":{"rendered":"http:\/\/www.finereport.com\/en\/?p=4335"},"modified":"2018-09-11T18:16:56","modified_gmt":"2018-09-11T10:16:56","slug":"how-to-make-a-trendline","status":"publish","type":"post","link":"https:\/\/www.finereport.com\/en\/product-functions\/how-to-make-a-trendline.html","title":{"rendered":"How to Make A Trendline?"},"content":{"rendered":"<p><strong>1. Problem description<\/strong><\/p>\n<p>A trendline, a great tool for <a title=\"FineReport data analysis\" href=\"\/en\/help\/data-analysis\" target=\"_blank\">data analysis<\/a>\u00a0and <a title=\"FineReport BI and reporting tool data visualization\" href=\"\/en\/help\/data-visualization\" target=\"_blank\">data visualization<\/a>, is used to display trend in data changes and is an attribute of Series. Being an important <a title=\"FineReport BI and reporting tool\" href=\"\/en\/\" target=\"_blank\">reporting tool<\/a>, it can be used in line charts, scatter charts, combination charts, column charts and area charts.The chart below is a trend chart of freights at the first half of 1997, illustrating the freight trend:<br \/>\n<img loading=\"lazy\" class=\"\" src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/123001.png\" alt=\"\" width=\"788\" height=\"276\" \/><br \/>\nTrendlines are set in Series format of the chart data. The example below shows how to make trendlines.<br \/>\nOpen report<span style=\"color: blue;\">:%FR_HOME%\\WebReport\\WEB-INF\\reportlets\\doc\\Advanced\\Chart\\Dateaxis.cpt.<\/span><br \/>\n<strong>2. Example<\/strong><\/p>\n<p><strong>2.1 Set trendlines<\/strong><br \/>\nSelect Chart. Click <span style=\"color: purple;\">Chart Attribute Table &#8211; Style &gt;Analysis Lines.<\/span> Click the <img src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/123002.png\" alt=\"\" \/><br \/>\nbutton under Trendline to add a trendline and set name, line style and trend style, as shown below:<br \/>\n<img loading=\"lazy\" class=\"\" src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/123003.jpg\" alt=\"\" width=\"745\" height=\"584\" \/><br \/>\nThe fitting equation of trendline is the equation type of trendline. For details, see Trendline Principle chapter.<br \/>\nThe trendline name is the name displayed in the legend.<\/p>\n<p><strong>2.2 Save and preview<\/strong><br \/>\nSave template and click Page-breaking Preview to see the effect as shown above.<\/p>\n<p><strong>2.3 Forecast trendlines<\/strong><br \/>\nTrend forecasting, belonging to\u00a0<a title=\"FineReport reporting and business intelligence tool\" href=\"\/en\/\" target=\"_blank\">business intelligence tool<\/a>, means to predict trends ahead and after based on current trends and the unit is period, i.e., number of classifications.<br \/>\nIn the trendlines as shown above, make the trend forecast forward by 2 periods and backward by 3 periods. Then, preview the report to see the effect as follows:<br \/>\n<img loading=\"lazy\" class=\"\" src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/123004.jpg\" alt=\"\" width=\"757\" height=\"356\" \/><\/p>\n<p>For completed templates, see:<span style=\"color: blue;\">%FR_HOME%\\WebReport\\WEB-INF\\reportlets\\doc\\Advanced\\Chart\\Trendline.cpt.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Problem description A trendline, a great tool for data analysis\u00a0and data visualization, is used to display trend in data changes and is an attribute of Series. Being an important reporting tool, it can be used in line charts, scatter charts, combination charts, column charts and area charts.The chart below is a trend chart of&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[111],"tags":[126,117],"yst_prominent_words":[],"_links":{"self":[{"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/posts\/4335"}],"collection":[{"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/comments?post=4335"}],"version-history":[{"count":2,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/posts\/4335\/revisions"}],"predecessor-version":[{"id":4380,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/posts\/4335\/revisions\/4380"}],"wp:attachment":[{"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/media?parent=4335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/categories?post=4335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/tags?post=4335"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/yst_prominent_words?post=4335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}