title: Drawing trend-line on the line diagram in c3js
body: <p>I need to draw trend-line on simple line graph in c3js but i can't seem to find a built-in way to do that? If that's not possible, how do i calculate trend-line (linear regression) data to display on the chart?</p>
  
  <p>Thanks</p>