title: How to perform action on JavaFX Chart axis drag?
body: <p>How do I perform an action when the axis is dragged over?</p>
  
  <pre class="lang-java prettyprint-override"><code>final CategoryAxis xAxis = new CategoryAxis();
  final NumberAxis yAxis = new NumberAxis(1, 21, 0.1);
  final LineChart&lt;String, Number&gt; lineChart = new LineChart&lt;String, Number&gt;(xAxis, yAxis);
  
  // What should go in the ???
  lineChart.getYAxis().getOnMouseDragged().handle(???)
  </code></pre>