title: JavaFX Line Chart: Only display points for one of the XYChart.Series
body: <p>I have a Line Chart with up to 3 XYChart.Series (graphs of mathematical functions), where I have set createSymbols == false.</p>
  
  <p>And now I additionally need to display a series of points, but not display the connecting lines between them.</p>
  
  <p>How can I accomplish this?</p>
  
  <p>Best Regards</p>
  
  <p>Edit: Part of the Code (Creating the plot and adding one XYChart.Series)</p>
  
  <pre><code>LineChart&lt;Number, Number&gt; plot = new LineChart&lt;Number,Number&gt;(xAxis,yAxis);
  plot.setCreateSymbols(false);
  XYChart.Series xychartlint = new XYChart.Series();
  xychartlint.setName("Lagrange Interpolation");
  plot.getData().add(xychartlint);
  for(double i = minx; i &lt; maxx; i = i + 0.01){
   xychartlint.getData().add(new XYChart.Data(i, lagrange.getY(i)));
  }
  </code></pre>
  
  <p><strong>Edit 2 Solution I found:</strong></p>
  
  <p>Using css to change the colors of series to transparent:</p>
  
  <p><a href="https://stackoverflow.com/questions/26803380/how-to-combine-scatter-chart-with-line-chart-to-show-line-of-regression-javafx">How to combine scatter chart with line chart to show line of regression? JavaFX</a></p>