Interface BeforeDataLimitsHook


  • public interface BeforeDataLimitsHook
    Called before scale data limits are calculated.
    This hook is called separately for each scale in the chart.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • onBeforeDataLimits

        void onBeforeDataLimits​(IsChart chart,
                                PluginScaleArgument argument)
        Called before scale data limits are calculated.
        This hook is called separately for each scale in the chart.
        Parameters:
        chart - the chart instance.
        argument - argument of method which contains the scale instance.