Class ScatterChart<X,​Y>

All Implemented Interfaces:
Styleable, EventTarget

public class ScatterChart<X,​Y>
extends XYChart<X,​Y>
Chart type that plots symbols for the data points in a series.
Since:
JavaFX 2.0
  • Constructor Details

    • ScatterChart

      public ScatterChart​(Axis<X> xAxis, Axis<Y> yAxis)
      Construct a new ScatterChart with the given axis and data.
      Parameters:
      xAxis - The x axis to use
      yAxis - The y axis to use
    • ScatterChart

      public ScatterChart​(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,​Y>> data)
      Construct a new ScatterChart with the given axis and data.
      Parameters:
      xAxis - The x axis to use
      yAxis - The y axis to use
      data - The data to use, this is the actual list used so any changes to it will be reflected in the chart