I am making an android application where I need to draw a graph from data entered by the user at runtime and with this data I will draw a simple line graph, but the line will be a line of best fit. The user will mostly only enter data at most 3-4 times a day.
I know there are a few libraries out there like androidplot and MPandroidchart. I download the demos for both of these from the appstore and MPandroidchart looks more appealing.
However, none of these libraries have a chart in the demos where they show a graph with a line of best fit.
So I was wondering if either of this libraries allows you to draw a line of best fit or would you have to manually calculate the slope of the line from the data points and then use the library to draw the line on the chart?
Also can you guys recommend which library I could use to do what I need to do? I am new to android so I would prefer a library which is easy to use and has good tutorials/support or is popular so I could ask questions from people and get an answer in a timely manner.