Uses of Class javafx.scene.chart.Axis (JavaFX 25)
Description: use: module: javafx.controls, package: javafx.scene.chart, class: Axis

# Uses of Class
javafx.scene.chart.Axis

Packages that use Axis
Package
Description
javafx.scene.chart
The JavaFX User Interface provides a set of chart components that are a very convenient way for data visualization.

- ## Uses of Axis in javafx.scene.chart

  Subclasses of Axis in javafx.scene.chart
  Modifier and Type
  Class
  Description
  `final class`
  `CategoryAxis`
  A axis implementation that will works on string categories where each value as a unique category(tick mark) along the axis.
  `final class`
  `NumberAxis`
  An axis class that plots a range of numbers with major tick marks every tickUnit.
  `class`
  `ValueAxis<T extends Number>`
  An axis whose data is defined as Numbers.
  Methods in javafx.scene.chart that return Axis
  Modifier and Type
  Method
  Description
  `Axis<X>`
  XYChart.`getXAxis()`
  Get the X axis, by default it is along the bottom of the plot
  `Axis<Y>`
  XYChart.`getYAxis()`
  Get the Y axis, by default it is along the left of the plot
  Constructors in javafx.scene.chart with parameters of type Axis
  Modifier
  Constructor
  Description
  ``
  `AreaChart(Axis<X> xAxis, Axis<Y> yAxis)`
  Construct a new Area Chart with the given axis
  ``
  `AreaChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data)`
  Construct a new Area Chart with the given axis and data
  ``
  `BarChart(Axis<X> xAxis, Axis<Y> yAxis)`
  Construct a new BarChart with the given axis.
  ``
  `BarChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data)`
  Construct a new BarChart with the given axis and data.
  ``
  `BarChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data, double categoryGap)`
  Construct a new BarChart with the given axis and data.
  ``
  `BubbleChart(Axis<X> xAxis, Axis<Y> yAxis)`
  Construct a new BubbleChart with the given axis.
  ``
  `BubbleChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data)`
  Construct a new BubbleChart with the given axis and data.
  ``
  `LineChart(Axis<X> xAxis, Axis<Y> yAxis)`
  Construct a new LineChart with the given axis.
  ``
  `LineChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data)`
  Construct a new LineChart with the given axis and data.
  ``
  `ScatterChart(Axis<X> xAxis, Axis<Y> yAxis)`
  Construct a new ScatterChart with the given axis and data.
  ``
  `ScatterChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data)`
  Construct a new ScatterChart with the given axis and data.
  ``
  `StackedAreaChart(Axis<X> xAxis, Axis<Y> yAxis)`
  Construct a new Area Chart with the given axis
  ``
  `StackedAreaChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data)`
  Construct a new Area Chart with the given axis and data.
  ``
  `StackedBarChart(Axis<X> xAxis, Axis<Y> yAxis)`
  Construct a new StackedBarChart with the given axis.
  ``
  `StackedBarChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data)`
  Construct a new StackedBarChart with the given axis and data.
  ``
  `StackedBarChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data, double categoryGap)`
  Construct a new StackedBarChart with the given axis and data.
  ``
  `XYChart(Axis<X> xAxis, Axis<Y> yAxis)`
  Constructs a XYChart given the two axes.