Klasse GroupAxis
java.lang.Object
com.inet.report.chart.axis.BaseAxis
com.inet.report.chart.axis.GroupAxis
- Alle implementierten Schnittstellen:
Serializable
The axis which displays the category and series group values.
- Seit:
- 8.0
- Siehe auch:
-
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final IntegerThe default value for maximum lines of label.static final DoubleThe default value for rotation angle (in radians).static final FloatThe default value for width ratio.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 TypMethodeBeschreibungGet FormulaFields referenced by this Axis.
Can be from marker (if this is MarkerAxis) or from title.intReturns the number for show each nth tick labels.Get the showEachNthTickLabelFormula of the GroupAxis.protected StringBuildergetSubProperties(int depth) Returns the serialized properties of subclasses.Returns the maximum number of lines to use for each tick label.Returns the tick label rotation angle (in radians).Returns the tick label width ratio, i.e. how much of the label to display.booleanReturns whether or not the axis tick labels are automatically adjusted to fit the axis space.voidreadProperties(Element element, Chart2 chart) Loads the XML properties of a chart axis.voidsetAutoFitTickLabel(boolean autoFitTickLabel) Sets whether or not the axis tick labels are automatically adjusted (e.g. by rotating or truncating) to fit the axis space.voidsetShowEachNthTickLabel(int showEachNthTickLabel) Sets the number for show each nth tick labels.voidsetShowEachNthTickLabelFormula(FormulaField showEachNthTickLabelFormula) Set the showEachNthTickLabelFormula of the GroupAxis.voidsetTickLabelMaximumLines(Integer tickLabelMaximumLines) Sets the maximum number of lines to use for each tick label.
Note: to use this property turn off the auto label fitting.voidsetTickLabelRotationAngle(Double tickLabelRotationAngle) Sets the tick label rotation angle (in radians).
Note: to use this property turn off the automatic label fitting.voidsetTickLabelWidthRatio(Float tickLabelWidthRatio) Sets the tick label width ratio, i.e. how much of the label to display. 1 would be the entire label, anything less causes the tick labels to be truncated. 0 means there should be no explicit setting for the maximum label width.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
-
Felddetails
-
DEFAULT_MAXIMUM_LINES
The default value for maximum lines of label. -
DEFAULT_ROTATION_ANGLE
The default value for rotation angle (in radians). -
DEFAULT_WIDTH_RATIO
The default value for width ratio.
-
-
Konstruktordetails
-
GroupAxis
public GroupAxis()Creates a discrete GroupAxis, sets the default properties.- Seit:
- 8.0
-
-
Methodendetails
-
isAutoFitTickLabel
public boolean isAutoFitTickLabel()Returns whether or not the axis tick labels are automatically adjusted to fit the axis space.- Gibt zurück:
- whether or not the axis tick labels are automatically adjusted to fit the axis space.
- Seit:
- 8.0
- Siehe auch:
-
setAutoFitTickLabel
public void setAutoFitTickLabel(boolean autoFitTickLabel) Sets whether or not the axis tick labels are automatically adjusted (e.g. by rotating or truncating) to fit the axis space.- Parameter:
autoFitTickLabel- whether to automatically adjust the labels (e.g. by rotating or truncating) so that they fit the axis space- Seit:
- 8.0
- Siehe auch:
-
getTickLabelRotationAngle
Returns the tick label rotation angle (in radians).- Gibt zurück:
- the angle of the tick label rotation
- Seit:
- 8.0
- Siehe auch:
-
setTickLabelRotationAngle
Sets the tick label rotation angle (in radians).
Note: to use this property turn off the automatic label fitting.- Parameter:
tickLabelRotationAngle- the angle ornullto ignore this property (full range -2π to +2π supported)- Seit:
- 8.0
- Siehe auch:
-
getTickLabelWidthRatio
Returns the tick label width ratio, i.e. how much of the label to display.- Gibt zurück:
- the width ratio
- Seit:
- 8.0
- Siehe auch:
-
setTickLabelWidthRatio
Sets the tick label width ratio, i.e. how much of the label to display. 1 would be the entire label, anything less causes the tick labels to be truncated. 0 means there should be no explicit setting for the maximum label width. Anything greater than 1 will be interpreted as 1.
Note: to use this property turn off the auto label fitting.- Parameter:
tickLabelWidthRatio- the width ratio, i.e. how much of the tick label to display ornullto ignore this property- Seit:
- 8.0
- Siehe auch:
-
getTickLabelMaximumLines
Returns the maximum number of lines to use for each tick label.- Gibt zurück:
- the maximum number of lines
- Seit:
- 8.0
- Siehe auch:
-
setTickLabelMaximumLines
Sets the maximum number of lines to use for each tick label.
Note: to use this property turn off the auto label fitting.- Parameter:
tickLabelMaximumLines- the maximum number of lines ornullto ignore this property- Seit:
- 8.0
- Siehe auch:
-
getShowEachNthTickLabel
public int getShowEachNthTickLabel()Returns the number for show each nth tick labels. The value 1 means each label will be shown.- Gibt zurück:
- the number
- Seit:
- 8.0
- Siehe auch:
-
setShowEachNthTickLabel
public void setShowEachNthTickLabel(int showEachNthTickLabel) Sets the number for show each nth tick labels. The value 1 means each label will be shown.- Parameter:
showEachNthTickLabel- the number, the value should be greater zero- Löst aus:
IllegalArgumentException- by negative or zero value- Seit:
- 8.0
- Siehe auch:
-
getShowEachNthTickLabelFormula
Get the showEachNthTickLabelFormula of the GroupAxis. This formula is used to determine the ShowEachNthLabel value. When null, the result ofgetShowEachNthTickLabel()is used.- Gibt zurück:
- the showEachNthTickLabelFormula of the GroupAxis, can be null.
- Seit:
- i-net Clear Reports 13.0
- Siehe auch:
-
setShowEachNthTickLabelFormula
Set the showEachNthTickLabelFormula of the GroupAxis. This formula is used to determine the ShowEachNthLabel value. When null, the value set tosetShowEachNthTickLabel(int)is used.- Parameter:
showEachNthTickLabelFormula- the showEachNthTickLabelFormula of the GroupAxis, can be null.- Seit:
- i-net Clear Reports 13.0
- Siehe auch:
-
getSubProperties
Returns the serialized properties of subclasses.- Setzt außer Kraft:
getSubPropertiesin KlasseBaseAxis- Parameter:
depth- the depth of the whitespace indent to prefix each line with- Gibt zurück:
- the properties as XML
- Seit:
- 8.0
-
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:
-
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.
-