title: How to find peak of Line Graph in Chart.js
body: <p>As the title says, I'm working with a chart.js chart generated with 5-7 data points, and the graph displays just fine. I need a way to find the coordinates of the peak of the graph. The previous version of this was an excel document where the user would just estimate the peak, and trying to use calculus (regression analysis and derivatives) is giving us a wildly different chart. So I really just need a way to pinpoint the peak as shown on this chart.</p>
  
  <p>Any help is <strong><em>greatly</em></strong> appreciated.</p>
  
  <p><img src="https://i.stack.imgur.com/DJXnW.jpg" alt="Picture of my UI and what I&#39;m value I&#39;m looking for"></p>