Tabnine Logo
NumberAxis.setSide
Code IndexAdd Tabnine to your IDE (free)

How to use
setSide
method
in
javafx.scene.chart.NumberAxis

Best Java code snippets using javafx.scene.chart.NumberAxis.setSide (Showing top 3 results out of 315)

origin: com.aquafx-project/aquafx

static Node createBubbleChart(boolean useRightTopAxis) {
  final Random RANDOM = new Random(29782198273l);
  NumberAxis xAxis = new NumberAxis();
  xAxis.setLabel("Product");
  NumberAxis yAxis = new NumberAxis();
  yAxis.setLabel("Number Bought/Sold");
  if (useRightTopAxis) {
    xAxis.setSide(Side.TOP);
    yAxis.setSide(Side.RIGHT);
  }
  ObservableList<BubbleChart.Series> bubbleChartData = FXCollections.observableArrayList();
  for (int s=0; s<8; s++) {
    ObservableList<BubbleChart.Data> seriesData = FXCollections.<BubbleChart.Data>observableArrayList();
    for (int d=0; d<(8*(RANDOM.nextDouble()*10)); d++) {
      seriesData.add(new XYChart.Data(100*RANDOM.nextDouble(), -50+(150*RANDOM.nextDouble()), 5+(10*RANDOM.nextDouble()) ));
    }
    bubbleChartData.add(new ScatterChart.Series("Product "+(s+1),seriesData));
  }
  return new BubbleChart(xAxis, yAxis, bubbleChartData);
}

origin: org.controlsfx/controlsfx

tickLine.setAnimated(false);
tickLine.setAutoRanging(false);
tickLine.setSide(isHorizontal() ? Side.BOTTOM : Side.RIGHT);
tickLine.setUpperBound(rangeSlider.getMax());
tickLine.setLowerBound(rangeSlider.getMin());
origin: org.controlsfx/controlsfx

orientation = getSkinnable().getOrientation();
if (showTickMarks && tickLine != null) {
  tickLine.setSide(isHorizontal() ? Side.BOTTOM : Side.RIGHT);
javafx.scene.chartNumberAxissetSide

Popular methods of NumberAxis

  • <init>
  • setAutoRanging
  • setLabel
  • setLowerBound
  • setTickUnit
  • setUpperBound
  • getLowerBound
  • getUpperBound
  • prefHeight
  • prefWidth
  • requestAxisLayout
  • resize
  • requestAxisLayout,
  • resize,
  • setAnimated,
  • setLayoutX,
  • setLayoutY,
  • setMinorTickCount,
  • setMinorTickVisible,
  • setTickLabelFormatter,
  • setTickLabelsVisible

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setRequestProperty (URLConnection)
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (Timer)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JList (javax.swing)
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now