Klasse ContinuousNumberAxis

Alle implementierten Schnittstellen:
com.inet.report.chart.axis.ContinuousAxis, com.inet.report.chart.axis.MarkerAxis, Serializable

public class ContinuousNumberAxis extends DiscreteNumberAxis implements com.inet.report.chart.axis.ContinuousAxis, com.inet.report.chart.axis.MarkerAxis
The axis which displays the continuous number line with values. Used as data and summary axis or as continuous category axis.
Seit:
8.0
Siehe auch:
  • Konstruktordetails

    • ContinuousNumberAxis

      public ContinuousNumberAxis()
      Creates a continuous number axis. Initializes the parameters with default.
      Seit:
      8.0
  • Methodendetails

    • isLogarithmicScale

      public boolean isLogarithmicScale()
      Returns whether or not this axis is to use a logarithmic scale.
      Gibt zurück:
      whether or not this axis is to use a logarithmic scale.
      Seit:
      8.0
      Siehe auch:
    • setLogarithmicScale

      public void setLogarithmicScale(boolean isLogarithmicScale)
      Sets whether or not this axis is to use a logarithmic scale.
      Parameter:
      isLogarithmicScale - whether or not this axis is to use a logarithmic scale
      Seit:
      8.0
      Siehe auch:
    • isAutomaticScale

      public boolean isAutomaticScale()
      Returns whether or not the axis range is automatically adjusted to fit the data values.
      Gibt zurück:
      whether or not the axis range is automatically adjusted to fit the data values
      Seit:
      8.0
      Siehe auch:
    • setAutomaticScale

      public void setAutomaticScale(boolean isAutomaticScale)
      Sets whether or not the axis range is automatically adjusted to fit the data, and notifies registered listeners that the axis has been modified.
      Parameter:
      isAutomaticScale - whether or not the axis range is automatically adjusted to fit the data
      Seit:
      8.0
      Siehe auch:
    • isRotateLabels

      public boolean isRotateLabels()
      Returns whether the axis labels are to be rotated 90 degrees.
      Gibt zurück:
      whether the axis labels are to be rotated 90 degrees
      Seit:
      8.0
      Siehe auch:
    • setRotateLabels

      public void setRotateLabels(boolean rotate)
      Sets whether the axis labels are to be rotated 90 degrees.
      Parameter:
      rotate - whether the axis labels are to be rotated 90 degrees
      Seit:
      8.0
      Siehe auch:
    • getLabelAngle

      public int getLabelAngle()
      Gets the label angle in degree with a range from 0 to 359.
      Gibt zurück:
      the label angle in degrees
      Seit:
      23.4
    • setLabelAngle

      public void setLabelAngle(int labelAngle)
      Sets the label angle for rotating the axis labels in degrees. It should be between 0 and 359.
      Parameter:
      labelAngle - the new label angle
      Seit:
      23.4
    • addMarker

      public void addMarker(AbstractMarker marker)
      Adds a new marker to the marker list of this axis.
      Angegeben von:
      addMarker in Schnittstelle com.inet.report.chart.axis.MarkerAxis
      Parameter:
      marker - (null not permitted)
      Löst aus:
      IllegalArgumentException - if marker is null.
      Seit:
      8.0
      Siehe auch:
    • getMarker

      public AbstractMarker getMarker(int index)
      Returns the marker from position.
      Angegeben von:
      getMarker in Schnittstelle com.inet.report.chart.axis.MarkerAxis
      Parameter:
      index - the position of marker in the marker list
      Gibt zurück:
      the marker.
      Löst aus:
      IndexOutOfBoundsException - if the index out of bounds.
      Seit:
      8.0
      Siehe auch:
    • removeMarker

      public void removeMarker(int index)
      Removes the marker at the position given.
      Angegeben von:
      removeMarker in Schnittstelle com.inet.report.chart.axis.MarkerAxis
      Parameter:
      index - the position at which to remove a marker from the list of markers
      Löst aus:
      IndexOutOfBoundsException - if the index out of bounds.
      Seit:
      8.0
      Siehe auch:
    • getMarkersCount

      public int getMarkersCount()
      Returns the total amount of markers on this axis.
      Angegeben von:
      getMarkersCount in Schnittstelle com.inet.report.chart.axis.MarkerAxis
      Gibt zurück:
      the number of markers on this axis.
      Seit:
      8.0
      Siehe auch:
    • getSubProperties

      protected StringBuilder getSubProperties(int depth)
      Returns the serialized properties of subclasses.
      Setzt außer Kraft:
      getSubProperties in Klasse DiscreteNumberAxis
      Parameter:
      depth - the depth of XML indent
      Gibt zurück:
      the properties.
    • saveSubProperties

      protected void saveSubProperties(PrintWriter out, int depth)
      Writes the intern axis properties to output. Overwrites this to save intern properties direct to PrintWriter without building a StringBuilder.
      Setzt außer Kraft:
      saveSubProperties in Klasse BaseAxis
      Parameter:
      out - the output
      depth - the depth of XML indent
    • readProperties

      public void readProperties(Element element, Chart2 chart)
      Loads the XML properties of a chart axis.
      Setzt außer Kraft:
      readProperties in Klasse DiscreteNumberAxis
      Parameter:
      element - DOM element to read the properties from
      chart - the chart this axis belongs to
      Siehe auch: