Klasse DiscreteNumberAxis

java.lang.Object
com.inet.report.chart.axis.BaseAxis
com.inet.report.chart.axis.DiscreteNumberAxis
Alle implementierten Schnittstellen:
Serializable
Bekannte direkte Unterklassen:
ContinuousNumberAxis

public class DiscreteNumberAxis extends BaseAxis
The axis which displays discrete number values.
Seit:
8.0
Siehe auch:
  • Konstruktordetails

    • DiscreteNumberAxis

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

    • getRange

      public NumberRange getRange()
      Returns the range controller object.
      Gibt zurück:
      the range
      Seit:
      8.0
      Siehe auch:
    • setRange

      public void setRange(NumberRange range)
      Sets the range controller object.
      Parameter:
      range - the rage (null not permitted)
      Löst aus:
      IllegalArgumentException - if range is null.
      Seit:
      8.0
      Siehe auch:
    • getStepWidth

      public Double getStepWidth()
      Returns the step width of axis units.
      Gibt zurück:
      the step width or null if this property was not set.
      Seit:
      8.0
      Siehe auch:
    • setStepWidth

      public void setStepWidth(Double stepWidth)
      Sets the step width of axis units. This function allows only positive values or null to define the step width automatically. This property is only for the number axis, for a date axis please use ContinuousDateAxis.setDateStepWidthType(Integer).
      Parameter:
      stepWidth - the step width (null permitted)
      Löst aus:
      IllegalArgumentException - if stepWidth less than 0.
      Seit:
      8.0
      Siehe auch:
    • getNumberOfDivisions

      public Integer getNumberOfDivisions()
      Returns the number of divisions on the axis. Returns only positive values or default null by automatically partitioning.
      Gibt zurück:
      the number of divisions or null
      Seit:
      8.0
      Siehe auch:
    • setNumberOfDivisions

      public void setNumberOfDivisions(Integer numberOfDivisions)
      Sets the number of divisions, allows only positive values or null to define the number of divisions automatically. This property is only for the number axis, for a date axis please use ContinuousDateAxis.setNumberOfDateSteps(Integer).
      Parameter:
      numberOfDivisions - the number of divisions (null permitted)
      Löst aus:
      IllegalArgumentException - if numberOfDivisions less or equal 0.
      Seit:
      8.0
      Siehe auch:
    • getSubProperties

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

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

      public FormulaField getNumberOfDivisionsFormula()
      Get the numberOfDivisionsFormula of the DiscreteNumberAxis.
      This formula is used to determine the Number of divisions where this axis will be labeled. When this formula is null, the result of getNumberOfDivisions() is used.
      Gibt zurück:
      the numberOfDivisionsFormula of the DiscreteNumberAxis, can be null when no formula was set.
      Seit:
      i-net Clear Reports 13.0
      Siehe auch:
    • setNumberOfDivisionsFormula

      public void setNumberOfDivisionsFormula(FormulaField numberOfDivisionsFormula)
      Set the numberOfDivisionsFormula of the DiscreteNumberAxis.
      This formula is used to determine the Number of divisions where this axis will be labeled. When this formula is null, the value set to setNumberOfDivisions(Integer) is used.
      Parameter:
      numberOfDivisionsFormula - the numberOfDivisionsFormula of the DiscreteNumberAxis, null when no formula is used.
      Seit:
      i-net Clear Reports 13.0
      Siehe auch:
    • getStepWidthFormula

      public FormulaField getStepWidthFormula()
      Get the stepWidthFormula of the DiscreteNumberAxis.
      This formula is used to determine the step width when the axis must be labeled.
      When null, the result of getStepWidth() is used.
      Gibt zurück:
      the stepWidthFormula of the DiscreteNumberAxis
      Seit:
      i-net Clear Reports 13.0
      Siehe auch:
    • setStepWidthFormula

      public void setStepWidthFormula(FormulaField stepWidthFormula)
      Set the stepWidthFormula of the DiscreteNumberAxis.
      This formula is used to determine the step width when the axis must be labeled.
      When null, the value set to setStepWidth(Double) is used.
      Parameter:
      stepWidthFormula - the stepWidthFormula of the DiscreteNumberAxis, null when no formula is to be usd.
      Seit:
      i-net Clear Reports 13.0
      Siehe auch:
    • getReferencedObjects

      public List<Object> getReferencedObjects()
      Get FormulaFields referenced by this Axis.
      Can be from marker (if this is MarkerAxis) or from title.
      Setzt außer Kraft:
      getReferencedObjects in Klasse BaseAxis
      Gibt zurück:
      a list with referenced fields, can be empty.