Interface CrosshairFormatterCallback


  • public interface CrosshairFormatterCallback
    This callback is the interface to defined customized representation of the labels in Crosshair.ID plugin.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • format

        String format​(IsChart chart,
                      ScaleItem scale,
                      ScaleValueItem value)
        Returns the text to apply to the crosshair label.
        Parameters:
        chart - chart instance
        scale - scale instance
        value - current value to draw in the label
        Returns:
        the text to apply to the crosshair label