Tabnine Logo
LineChart.getData
Code IndexAdd Tabnine to your IDE (free)

How to use
getData
method
in
javafx.scene.chart.LineChart

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

origin: org.copper-engine/copper-monitoring-client

  @Override
  public void clear() {
    avgChart.getData().clear();
    countChart.getData().clear();
    quantilChart.getData().clear();
    resourceChart.getData().clear();
    logText.clear();
  }
}
origin: com.github.giulianini.jestures/jestures

/**
 * Set the chart with the selected length.
 *
 * @param xFrames
 *            the x frame length
 * @param yFrames
 *            the y frame length
 */
public void setChart(final int xFrames, final int yFrames) {
  this.xSeries = new XYChart.Series<>();
  this.ySeries = new XYChart.Series<>();
  this.lineChartX = RecordingFactory.createDerivativeLineChart(xFrames);
  this.lineChartY = RecordingFactory.createDerivativeLineChart(yFrames);
  this.lineChartX.getData().add(this.xSeries);
  this.lineChartY.getData().add(this.ySeries);
  this.lineChartX.setTitle("Derivative: X");
  this.lineChartY.setTitle("Derivative: Y");
  HBox.setHgrow(this.lineChartX, Priority.ALWAYS);
  HBox.setHgrow(this.lineChartY, Priority.ALWAYS);
  this.vbox.getChildren().setAll(this.lineChartX, this.lineChartY);
}
origin: GoMint/GoMint

public Node getNode() {
  this.chart.getData().addAll( this.actualTimeSeries, this.fullTimeSeries, this.averageTimeSeries );
  this.chart.setPrefHeight( 200 );
  this.fullTimeSeries.getNode().setStyle( "-fx-stroke-width: 2px; -fx-stroke: #f34602;" );
  this.actualTimeSeries.getNode().setStyle( "-fx-stroke-width: 2px; -fx-stroke: #f39502;" );
  this.averageTimeSeries.getNode().setStyle( "-fx-stroke-width: 2px; -fx-stroke: #45df02;" );
  updateChart();
  return this.chart;
}
javafx.scene.chartLineChartgetData

Popular methods of LineChart

  • <init>
  • setAnimated
  • getYAxis
  • setCreateSymbols
  • setLegendVisible
  • setPrefHeight
  • setTitle

Popular in Java

  • Reactive rest calls using spring rest template
  • setRequestProperty (URLConnection)
  • getResourceAsStream (ClassLoader)
  • putExtra (Intent)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Option (scala)
  • CodeWhisperer alternatives
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