Class RMGraphPartValueAxis

All Implemented Interfaces:
Archivable, DeepChangeListener, RMPropertyChanger, RMTypes, PropertyChangeListener, Cloneable, EventListener

public class RMGraphPartValueAxis extends RMTextShape
This shape is used by graph area to hold attributes of the value axis.
  • Constructor Details

    • RMGraphPartValueAxis

      public RMGraphPartValueAxis()
  • Method Details

    • createXString

      public RMXString createXString()
      Overrides RMText method to create an xstring that defaults to Arial 10.
      Overrides:
      createXString in class RMTextShape
    • getShowAxisLabels

      public boolean getShowAxisLabels()
      Returns whether the graph draws axis labels.
    • setShowAxisLabels

      public void setShowAxisLabels(boolean aFlag)
      Sets whether the graph draws axis labels.
    • getShowMajorGrid

      public boolean getShowMajorGrid()
      Returns whether the graph draws the major axis.
    • setShowMajorGrid

      public void setShowMajorGrid(boolean aFlag)
      Sets whether the graph draws the major axis.
    • getShowMinorGrid

      public boolean getShowMinorGrid()
      Returns whether the graph draws the minor axis.
    • setShowMinorGrid

      public void setShowMinorGrid(boolean aFlag)
      Sets whether the graph draws the minor axis.
    • getAxisMin

      public float getAxisMin()
      Returns the axis minimum.
    • setAxisMin

      public void setAxisMin(float aValue)
      Sets the axis minimum.
    • getAxisMax

      public float getAxisMax()
      Returns the axis maximum.
    • setAxisMax

      public void setAxisMax(float aValue)
      Sets the axis maximum.
    • getAxisCount

      public int getAxisCount()
      Returns the number of increments in the axis.
    • setAxisCount

      public void setAxisCount(int aValue)
      Sets the number of increments in the axis.
    • toXML

      public RXElement toXML(RXArchiver anArchiver)
      XML archival.
      Specified by:
      toXML in interface Archivable
      Overrides:
      toXML in class RMTextShape
    • fromXML

      public Object fromXML(RXArchiver anArchiver, RXElement anElement)
      XML unarchival.
      Specified by:
      fromXML in interface Archivable
      Overrides:
      fromXML in class RMTextShape