How To Draw Trade Line On Scatter Chart In Android?
I am developing application which requires scatter chart. For scatter chart I am using Apache aChartEngine library to draw scatter chart but I needto draw Trade line also on that s
Solution 1:
You could use Apache Commons math.
For linear, polynomial, exponential, logarithmic, and power trend lines OLSMultipleLinearRegression is all you need.
In this S.O. previous question, you can found the code for the trend lines.
Then you can simply add new series to yout chart with values derived from the trendline.
Post a Comment for "How To Draw Trade Line On Scatter Chart In Android?"