Klasse ContinuousNumberAxis
java.lang.Object
com.inet.report.chart.axis.BaseAxis
com.inet.report.chart.axis.DiscreteNumberAxis
com.inet.report.chart.axis.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:
-
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 TypMethodeBeschreibungvoidaddMarker(AbstractMarker marker) Adds a new marker to the marker list of this axis.intGets the label angle in degree with a range from 0 to 359.getMarker(int index) Returns the marker from position.intReturns the total amount of markers on this axis.protected StringBuildergetSubProperties(int depth) Returns the serialized properties of subclasses.booleanReturns whether or not the axis range is automatically adjusted to fit the data values.booleanReturns whether or not this axis is to use a logarithmic scale.booleanReturns whether the axis labels are to be rotated 90 degrees.voidreadProperties(Element element, Chart2 chart) Loads the XML properties of a chart axis.voidremoveMarker(int index) Removes the marker at the position given.protected voidsaveSubProperties(PrintWriter out, int depth) Writes the intern axis properties to output.voidsetAutomaticScale(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.voidsetLabelAngle(int labelAngle) Sets the label angle for rotating the axis labels in degrees.voidsetLogarithmicScale(boolean isLogarithmicScale) Sets whether or not this axis is to use a logarithmic scale.voidsetRotateLabels(boolean rotate) Sets whether the axis labels are to be rotated 90 degrees.Von Klasse geerbte Methoden DiscreteNumberAxis
getNumberOfDivisions, getNumberOfDivisionsFormula, getRange, getReferencedObjects, getStepWidth, getStepWidthFormula, setNumberOfDivisions, setNumberOfDivisionsFormula, setRange, setStepWidth, setStepWidthFormulaVon Klasse geerbte Methoden BaseAxis
copyTo, getAxisLineColor, getAxisPosition, getGridlineColor, getTickLabelColor, getTickLabelFont, getTickLabelFormat, getTitle, isGridlinesVisible, isInverseOrder, saveProperties, setAxisLineColor, setAxisPosition, setGridlineColor, setGridlinesVisible, setInverseOrder, setTickLabelColor, setTickLabelFont, setTickLabelFormat, setTitle
-
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
Adds a new marker to the marker list of this axis.- Angegeben von:
addMarkerin Schnittstellecom.inet.report.chart.axis.MarkerAxis- Parameter:
marker- (nullnot permitted)- Löst aus:
IllegalArgumentException- if marker isnull.- Seit:
- 8.0
- Siehe auch:
-
getMarker
Returns the marker from position.- Angegeben von:
getMarkerin Schnittstellecom.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:
removeMarkerin Schnittstellecom.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:
getMarkersCountin Schnittstellecom.inet.report.chart.axis.MarkerAxis- Gibt zurück:
- the number of markers on this axis.
- Seit:
- 8.0
- Siehe auch:
-
getSubProperties
Returns the serialized properties of subclasses.- Setzt außer Kraft:
getSubPropertiesin KlasseDiscreteNumberAxis- Parameter:
depth- the depth of XML indent- Gibt zurück:
- the properties.
-
saveSubProperties
Writes the intern axis properties to output. Overwrites this to save intern properties direct toPrintWriterwithout building aStringBuilder.- Setzt außer Kraft:
saveSubPropertiesin KlasseBaseAxis- Parameter:
out- the outputdepth- the depth of XML indent
-
readProperties
Loads the XML properties of a chart axis.- Setzt außer Kraft:
readPropertiesin KlasseDiscreteNumberAxis- Parameter:
element- DOM element to read the properties fromchart- the chart this axis belongs to- Siehe auch:
-