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
The axis which displays discrete number values.
- Seit:
- 8.0
- Siehe auch:
-
Feldübersicht
Von Klasse geerbte Felder BaseAxis
DEFAULT_AXIS_LINE_COLOR, DEFAULT_GRIDLINE_COLOR, DEFAULT_TICK_LABEL_COLOR, DEFAULT_TICK_LABEL_FONT, DEFAULT_TITLE, TOKEN_CATEGORY_AXIS, TOKEN_DATA_AXIS, TOKEN_SERIES_AXIS -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungReturns the number of divisions on the axis.Get the numberOfDivisionsFormula of the DiscreteNumberAxis.
This formula is used to determine the Number of divisions where this axis will be labeled.getRange()Returns the range controller object.Get FormulaFields referenced by this Axis.
Can be from marker (if this is MarkerAxis) or from title.Returns the step width of axis units.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 ofgetStepWidth()is used.protected StringBuildergetSubProperties(int depth) Returns the serialized properties of subclasses.voidreadProperties(Element element, Chart2 chart) Loads the XML properties of a chart axis.voidsetNumberOfDivisions(Integer numberOfDivisions) Sets the number of divisions, allows only positive values ornullto define the number of divisions automatically.voidsetNumberOfDivisionsFormula(FormulaField numberOfDivisionsFormula) Set the numberOfDivisionsFormula of the DiscreteNumberAxis.
This formula is used to determine the Number of divisions where this axis will be labeled.voidsetRange(NumberRange range) Sets the range controller object.voidsetStepWidth(Double stepWidth) Sets the step width of axis units.voidsetStepWidthFormula(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 tosetStepWidth(Double)is used.Von Klasse geerbte Methoden BaseAxis
copyTo, getAxisLineColor, getAxisPosition, getGridlineColor, getTickLabelColor, getTickLabelFont, getTickLabelFormat, getTitle, isGridlinesVisible, isInverseOrder, saveProperties, saveSubProperties, setAxisLineColor, setAxisPosition, setGridlineColor, setGridlinesVisible, setInverseOrder, setTickLabelColor, setTickLabelFont, setTickLabelFormat, setTitle
-
Konstruktordetails
-
DiscreteNumberAxis
public DiscreteNumberAxis()Creates a discrete number axis. Initializes the parameters with default.- Seit:
- 8.0
-
-
Methodendetails
-
getRange
Returns the range controller object.- Gibt zurück:
- the range
- Seit:
- 8.0
- Siehe auch:
-
setRange
Sets the range controller object.- Parameter:
range- the rage (nullnot permitted)- Löst aus:
IllegalArgumentException- if range isnull.- Seit:
- 8.0
- Siehe auch:
-
getStepWidth
Returns the step width of axis units.- Gibt zurück:
- the step width or
nullif this property was not set. - Seit:
- 8.0
- Siehe auch:
-
setStepWidth
Sets the step width of axis units. This function allows only positive values ornullto define the step width automatically. This property is only for the number axis, for a date axis please useContinuousDateAxis.setDateStepWidthType(Integer).- Parameter:
stepWidth- the step width (nullpermitted)- Löst aus:
IllegalArgumentException- if stepWidth less than 0.- Seit:
- 8.0
- Siehe auch:
-
getNumberOfDivisions
Returns the number of divisions on the axis. Returns only positive values or defaultnullby automatically partitioning.- Gibt zurück:
- the number of divisions or
null - Seit:
- 8.0
- Siehe auch:
-
setNumberOfDivisions
Sets the number of divisions, allows only positive values ornullto define the number of divisions automatically. This property is only for the number axis, for a date axis please useContinuousDateAxis.setNumberOfDateSteps(Integer).- Parameter:
numberOfDivisions- the number of divisions (nullpermitted)- Löst aus:
IllegalArgumentException- if numberOfDivisions less or equal 0.- Seit:
- 8.0
- Siehe auch:
-
getSubProperties
Returns the serialized properties of subclasses.- Setzt außer Kraft:
getSubPropertiesin KlasseBaseAxis- Parameter:
depth- the depth of XML indent- Gibt zurück:
- the properties.
-
readProperties
Loads the XML properties of a chart axis.- Setzt außer Kraft:
readPropertiesin KlasseBaseAxis- Parameter:
element- DOM element to read the properties fromchart- the chart this axis belongs to- Siehe auch:
-
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 ofgetNumberOfDivisions()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
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 tosetNumberOfDivisions(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
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 ofgetStepWidth()is used.- Gibt zurück:
- the stepWidthFormula of the DiscreteNumberAxis
- Seit:
- i-net Clear Reports 13.0
- Siehe auch:
-
setStepWidthFormula
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 tosetStepWidth(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
Get FormulaFields referenced by this Axis.
Can be from marker (if this is MarkerAxis) or from title.- Setzt außer Kraft:
getReferencedObjectsin KlasseBaseAxis- Gibt zurück:
- a list with referenced fields, can be empty.
-