I am relatively new to Flex and I am currently working with charts in the data visualization components. It has been requested that I add a linear trendline (ie, linear regression trend line) to a column chart. From what I can tell, there is no linear regression form for the mx:LineSeries. Has anyone created a linear trendline using the data visualization components in Flex, or does anyone have any suggestions on how to accomplish this?
Nicholas @ Bime posted a solution to this sort of problem earlier this year, apparently. He created a custom component that extends the CartesianDataCanvas, and can be called as an annotation element of the chart. See the following url: http://bimehq.com/data-visualization/introducing-flex-charting-trend-line-component/
His solution works very well, with the only caveat being if you have mutiple series on your chart, all the trendlines will be the same color, and there is no label on the lines to show which line corresponds to which series.