title: Intersection point in line graph in Chart.js?
body: <p>Searched a lot about this but din't got any answer on this based on chart.js. I had already asked this question <a href="https://stackoverflow.com/questions/42340398/can-we-find-breakdown-point-break-down-analysis-in-high-chart-line-graph">here</a> in which I was using highchart.js and got the solution but now I am using chart.js library and trying to find the solution.
  Below is my code  I have tried. I need to find the intersection point between these 2 line graphs combo. See the Graph Image .
  <a href="https://stackoverflow.com/questions/42340398/can-we-find-breakdown-point-break-down-analysis-in-high-chart-line-graph"><img src="https://i.stack.imgur.com/4tv1x.jpg" alt="enter image description here"></a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var config = {
    type: 'bar',
    data: {
      labels: ["Year 0", "Year 1", "Year 2", "Year 3", "Year 4", "Year 5", "Year 6"],
      datasets: [{
          type: 'line',
          label: 'Cost',
          data: [150, 15, 25, 14, 10, 7],
          borderColor: '#E35500',
          fill: false,
          lineTension: 0,
          borderJoinStyle: 'miter',
        }, {
          type: 'line',
          label: 'Cash Flow',
          data: [20, 180, 170, 220, 160, 190],
          borderColor: '#FFC000',
          fill: false,
          lineTension: 0,
          borderJoinStyle: 'miter',
          xAxes: [{
            barPercentage: 0.4
          }]
        },
        {
          type: 'line',
          label: 'Accumulative Flow',
          data: [0, -10, 20, 30, 40, 50],
          borderColor: 'red',
          fill: false,
          lineTension: 0,
          borderJoinStyle: 'miter',
          xAxes: [{
            barPercentage: 0.4
          }]
        }, {
          type: 'bar',
          label: 'Benifit(One time)',
          backgroundColor: "#005998",
          data: [40, 50, 60, 80, 50, 60],
        }, {
          type: 'bar',
          label: 'Benifit(Recurring)',
          backgroundColor: "#0FAAFF",
          data: [120, 150, 150, 180, 120, 140],
        }
      ]
    },
    options: {
      title: {
        display: true,
        text: 'Custom Chart Title'
      },
      scales: {
        xAxes: [{
          time: {
            displayFormats: {
              quarter: ' YYYY'
            }
          },
          stacked: true,
          beginAtZero: true,
          barPercentage: 0.3,
          id: 'x-axis-label',
          position: 'bottom',
          scaleStartValue: 20,
          gridLines: {
            display: false
          },
        }],
        yAxes: [{
          stacked: true,
          id: 'y-axis-label',
          ticks: {
            max: 300,
            min: -50,
            stepSize: 50,
          },
          position: 'left',
          gridLines: {
            display: false
          },
        }]
      },
      legend: {
        position: 'right'
      },
      maintainAspectRatio: false,
      scaleBeginAtZero: true
  
  
    }
  };
  
  var ctx = document.getElementById("myChart").getContext("2d");
  new Chart(ctx, config);</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.GraphContain {
    max-height: 500px;
    position: relative;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.0/moment.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.bundle.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"&gt;&lt;/script&gt;
  
  &lt;div class="GraphContain"&gt;
    &lt;canvas id="myChart" width="400" height="400"&gt;&lt;/canvas&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Anyone having any idea?? need a genius on this!!!</p>