Class AxesScale

java.lang.Object
org.primefaces.model.charts.axes.AxesScale
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CartesianScales, RadialScales

public abstract class AxesScale extends Object implements Serializable
Base Scale configuration for common scale options.
See Also:
  • Constructor Details

    • AxesScale

      public AxesScale()
  • Method Details

    • isDisplay

      public boolean isDisplay()
      Controls the axis global visibility (visible when true, hidden when false).
      Returns:
      display flag
    • setDisplay

      public void setDisplay(boolean display)
      Controls the axis global visibility (visible when true, hidden when false).
      Parameters:
      display - true to display false to hide.
    • getWeight

      public Number getWeight()
      The weight used to sort the axis. Higher weights are further away from the chart area.
      Returns:
      the weight
    • setWeight

      public void setWeight(Number weight)
      The weight used to sort the axis. Higher weights are further away from the chart area.
      Parameters:
      weight - number to set to the weight to