Class StackedScales


  • public class StackedScales
    extends Scales
    Specific scales for stacked charts.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • isOnlyYAxis

        public boolean isOnlyYAxis()
        Returns true if there is only a Y axis, otherwise false.
        Returns:
        true if there is only a Y axis, otherwise false
      • setOnlyYAxis

        public void setOnlyYAxis​(boolean isOnlyYAxis)
        Sets true if there is only a Y axis, otherwise false.
        Parameters:
        isOnlyYAxis - true if there is only a Y axis, otherwise false
      • setAxes

        public void setAxes​(Axis... axes)
        Description copied from class: Scales
        Sets an array of X axes.
        Overrides:
        setAxes in class Scales
        Parameters:
        axes - an array of axes.
      • getOptions

        protected final ConfigurationOptions getOptions()
        Returns the configuration options.
        Returns:
        the configuration options.
      • getConfiguration

        protected final ExtendedOptions getConfiguration()
        Returns the configuration element.
        Returns:
        the configuration element.
      • getChart

        public final IsChart getChart()
        Returns the chart instance
        Returns:
        the chart