title: Get the name of a QML ChartView LineSeries when the LineSeries is clicked
body: <p>I created a program that reads stock data (time series) from the internet and displays it in a QML ChartView. After I add all the line series that I want, I can delete them by clicking a button.</p>
  
  <p>I would like to know if it is possible to delete the line series by clicking at ANY point in the line series?</p>
  
  <p>I am adding the series dynamically like this:</p>
  
  <pre><code>// stockID is sent from C++ when the timeSeriesReady signal is emitted
  var chartViewSeries = chartView.createSeries(ChartView.SeriesTypeLine, stockID, dateTimeAxis_chartView_xAxis, valueAxis_chartView_yAxis);
  
  // Set chartViewSeries (AbstractSeries/LineSeries) properties
  chartViewSeries.onClicked.connect(lineSeriesClicked);
  chartViewSeries.onHovered.connect(lineSeriesHovered);
  
  stockChart.setLineSeries(chartViewSeries);
  </code></pre>
  
  <p>I don't want to crowd too much my post so I won't post ALL the files, however:</p>
  
  <ul>
  <li>dateTimeAxis_chartView_xAxis is a DateTimeAxis QML type inside the main ChartView QML typ with id: chartView</li>
  <li>valueAxis_chartView_yAxis is a ValueAxis QML type inside the main ChartView QML typ with id: chartView</li>
  <li>stockChart is the id of a StockChart QML Type imported from C++</li>
  <li><p>lineSeriesClicked is this function:</p>
  
  <pre><code>function lineSeriesClicked(lineSeriesPoint){
      console.log(lineSeriesPoint);
  }
  </code></pre></li>
  <li><p>lineSeriesHovered is this function:</p>
  
  <pre><code>function lineSeriesHovered(lineSeriesPoint, isHovered){
      if(isHovered){
          var date = new Date(lineSeriesPoint.x);
          console.log(date.getFullYear() + "-" + (((date.getMonth()+1) &lt; 10) ? ("0" + (date.getMonth()+1).toString()) : (date.getMonth()+1)) + "-" + (((date.getDate()) &lt; 10) ? ("0" + (date.getDate()).toString()) : (date.getDate())) + " -&gt; " + lineSeriesPoint.y);
      }
  }
  </code></pre></li>
  </ul>
  
  <p>Now, in the log I see all the correct data, e.g., when hovered:</p>
  
  <pre><code>qml: 2017-08-29 -&gt; 64.91115963918442
  </code></pre>
  
  <p>when clicked:</p>
  
  <pre><code>qml: QPointF(1.50432e+12, 65.0453)
  </code></pre>
  
  <p>Looking at XYSeries QML Type (<a href="https://doc.qt.io/qt-5/qml-qtcharts-xyseries.html#clicked-signal" rel="nofollow noreferrer">https://doc.qt.io/qt-5/qml-qtcharts-xyseries.html#clicked-signal</a>), the clicked signal that I am using only passes the a point.</p>
  
  <p>Is there any way to get the name of the line series where the point data was obtained to be able to delete this series? Perhaps through some sort of context access or "this" keyword?</p>
  
  <p>Thank you very much!!!</p>