Class DefaultScales

  • All Implemented Interfaces:
    IsDefaultScales

    public final class DefaultScales
    extends Object
    implements IsDefaultScales
    CHART.JS default values for scale/axis element.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • getAxis

        public IsDefaultScale getAxis​(ScaleId scaleId,
                                      AxisKind kind)
        Description copied from interface: IsDefaultScales
        Returns the default configuration for x axis.
        Specified by:
        getAxis in interface IsDefaultScales
        Parameters:
        scaleId - the scale id to use to get the default
        kind - axis kind to use if the scale id is not recognizable
        Returns:
        the default configuration for x axis.