Class RMGraphPartBars

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

public class RMGraphPartBars extends RMShape
This shape is used by graph area to hold attributes of bars.
  • Constructor Details

    • RMGraphPartBars

      public RMGraphPartBars()
  • Method Details

    • getBarGap

      public float getBarGap()
      Returns the width of the gap between bars in a set as a fraction of bar width.
    • setBarGap

      public void setBarGap(float aValue)
      Sets width of the gap between bars in a set as a fraction of bar width.
    • getSetGap

      public float getSetGap()
      Returns the width of the gap between sets as a fraction of chart area.
    • setSetGap

      public void setSetGap(float aValue)
      Sets the width of the gap between sets as a fraction of chart area.
    • getBarCount

      public int getBarCount()
      Returns the minimum number of bars for the graph to provide space for in a section.
    • setBarCount

      public void setBarCount(int aValue)
      Sets the minimum number of bars for the graph to provide space for in a section.
    • toXML

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

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