Interface IsLinearAxis

    • Method Detail

      • setBeginAtZero

        default void setBeginAtZero​(boolean beginAtZero)
        If true, scale will include 0 if it is not already included.
        Parameters:
        beginAtZero - if true, scale will include 0 if it is not already included.
      • isBeginAtZero

        default boolean isBeginAtZero()
        If true, scale will include 0 if it is not already included.
        Returns:
        if true, scale will include 0 if it is not already included.
      • getMinMaxCallbacksHandler

        org.pepstock.charba.client.configuration.MinMaxCallbacksHandler<T> getMinMaxCallbacksHandler()
        Returns a MinMaxCallbacksHandler which is managing all min and max callbacks options.
        Returns:
        a MinMaxCallbacksHandler which is managing all min and max callbacks options
      • getMinCallback

        default MinMaxCallback<T> getMinCallback()
        Returns the callback to set the user defined minimum number for the scale, overrides minimum value from data.
        Returns:
        the callback to set the user defined minimum number for the scale, overrides minimum value from data.
      • setMin

        default void setMin​(MinMaxCallback<T> minCallback)
        Sets the callback to set the user defined minimum number for the scale, overrides minimum value from data.
        Parameters:
        minCallback - the callback to set the user defined minimum number for the scale, overrides minimum value from data.
      • setMin

        default void setMin​(NativeCallback minCallback)
        Sets the callback to set the user defined minimum number for the scale, overrides minimum value from data.
        Parameters:
        minCallback - the callback to set the user defined minimum number for the scale, overrides minimum value from data.
      • setMax

        default void setMax​(MinMaxCallback<T> maxCallback)
        Sets the callback to set the user defined maximum number for the scale, overrides maximum value from data.
        Parameters:
        maxCallback - the callback to set the user defined maximum number for the scale, overrides maximum value from data.
      • setMax

        default void setMax​(NativeCallback maxCallback)
        Sets the callback to set the user defined maximum number for the scale, overrides maximum value from data.
        Parameters:
        maxCallback - the callback to set the user defined maximum number for the scale, overrides maximum value from data.
      • getMaxCallback

        default MinMaxCallback<T> getMaxCallback()
        Returns the callback to set the user defined maximum number for the scale, overrides maximum value from data.
        Returns:
        the callback to set the user defined maximum number for the scale, overrides maximum value from data.
      • getSuggestedMinCallback

        default MinMaxCallback<T> getSuggestedMinCallback()
        Returns the callback to set the adjustment used when calculating the minimum data value.
        Returns:
        the callback to set the adjustment used when calculating the minimum data value.
      • setSuggestedMin

        default void setSuggestedMin​(MinMaxCallback<T> suggestedMinCallback)
        Sets the callback to set the adjustment used when calculating the minimum data value.
        Parameters:
        suggestedMinCallback - the callback to set the adjustment used when calculating the minimum data value.
      • setSuggestedMin

        default void setSuggestedMin​(NativeCallback suggestedMinCallback)
        Sets the callback to set the adjustment used when calculating the minimum data value.
        Parameters:
        suggestedMinCallback - the callback to set the adjustment used when calculating the minimum data value.
      • getSuggestedMaxCallback

        default MinMaxCallback<T> getSuggestedMaxCallback()
        Returns the callback to set the adjustment used when calculating the maximum data value.
        Returns:
        the callback to set the adjustment used when calculating the maximum data value.
      • setSuggestedMax

        default void setSuggestedMax​(MinMaxCallback<T> suggestedMaxCallback)
        Sets the callback to set the adjustment used when calculating the maximum data value.
        Parameters:
        suggestedMaxCallback - the callback to set the adjustment used when calculating the maximum data value.
      • setSuggestedMax

        default void setSuggestedMax​(NativeCallback suggestedMaxCallback)
        Sets the callback to set the adjustment used when calculating the maximum data value.
        Parameters:
        suggestedMaxCallback - the callback to set the adjustment used when calculating the maximum data value.
      • getBegiAtZeroCallbackHandler

        org.pepstock.charba.client.configuration.BegiAtZeroCallbackHandler getBegiAtZeroCallbackHandler()
        Returns a BegiAtZeroCallbackHandler which is managing beginAtZero callback options.
        Returns:
        a BegiAtZeroCallbackHandler which is managing beginAtZero callback options
      • getBeginAtZeroCallback

        default BeginAtZeroCallback getBeginAtZeroCallback()
        Returns the callback to set if true, scale will include 0 if it is not already included.
        Returns:
        the callback to set if true, scale will include 0 if it is not already included.
      • setBeginAtZero

        default void setBeginAtZero​(BeginAtZeroCallback beginAtZeroCallback)
        Sets the callback to set if true, scale will include 0 if it is not already included.
        Parameters:
        beginAtZeroCallback - the callback to set if true, scale will include 0 if it is not already included.
      • setBeginAtZero

        default void setBeginAtZero​(NativeCallback beginAtZeroCallback)
        Sets the callback to set if true, scale will include 0 if it is not already included.
        Parameters:
        beginAtZeroCallback - the callback to set if true, scale will include 0 if it is not already included.