Class ChartFxViewer

Direct Known Subclasses:
XYChartViewer

public abstract class ChartFxViewer extends Viewer
Base viewer embedding a self-rendering chart-fx Chart.
  • Constructor Details

    • ChartFxViewer

      public ChartFxViewer()
  • Method Details

    • createChart

      protected abstract io.fair_acc.chartfx.Chart createChart()
      Creates the configured chart displayed by this viewer.
    • getDefaultPlugins

      protected List<io.fair_acc.chartfx.plugins.ChartPlugin> getDefaultPlugins()
      Returns the interactive plugins installed on the created chart.
    • getChart

      public io.fair_acc.chartfx.Chart getChart()
      Returns the chart, or null before activation.
    • onActivation

      protected void onActivation()
      Activates the engine viewer and creates its JavaFX chart UI.
      Overrides:
      onActivation in class Viewer
    • render

      public void render()
      No-op because chart-fx manages rendering through its animation timer.
      Specified by:
      render in class Viewer