Interface ChartFocusListener

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ChartFocusListener
Listener for chart focus updates.

Focus updates are emitted whenever the crosshair (or touch long-press) changes the active data position. Implementations should be fast; handlers may run on the EDT.

Since:
2025-06-01
Version:
1.0.0
Author:
Arber Gashi
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when chart focus changes.
  • Method Details

    • onFocusChanged

      void onFocusChanged(ChartFocus focus)
      Called when chart focus changes.
      Parameters:
      focus - immutable focus state (never null)