Klasse IntervalMarker
java.lang.Object
com.inet.report.chart.axis.AbstractMarker
com.inet.report.chart.axis.IntervalMarker
- Alle implementierten Schnittstellen:
Serializable
Class to create interval markers in a chart plot. An interval marker has two values, a start and an end value.
- Seit:
- 8.0
- Siehe auch:
-
Feldübersicht
Von Klasse geerbte Felder AbstractMarker
DEFAULT_ALPHA, DEFAULT_COLOR, DEFAULT_LINE_STYLE, DEFAULT_LINE_WIDTH, DEFAULT_VALUE -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a marker area with two values: the first (start value) and the second (end value). -
Methodenübersicht
Modifikator und TypMethodeBeschreibungdoubleReturns the first value (lower bound) of this marker.Get the Formula which returns the first value of the marker.doubleReturns the end value (upper bound) of this marker.Get the Formula which returns the second value for the marker.protected StringBuildergetSubProperties(int depth) Returns the serialized properties of subclasses.booleanGet whether the firstValueFormula returns DatebooleanGet whether the secondValueFormula returns DatevoidreadProperties(Element element, Chart2 chart) Loads the XML properties of a marker.voidsetFirstValue(double firstValue) Sets the start value (lower bound) of this marker.voidsetFirstValueFormula(FormulaField firstValueFormula, boolean isDate) Set the Formula for the first value of the marker.
Expected type is double or datetime.voidsetSecondValue(double secondValue) Sets the end value (upper bound) of this marker.voidsetSecondValueFormula(FormulaField secondValueFormula, boolean isDate) Set the Formula for the second value of the marker.Von Klasse geerbte Methoden AbstractMarker
getColor, getLineStyle, getLineWidth, getMarkerReferencesIfExist, setColor, setLineStyle, setLineWidth
-
Konstruktordetails
-
IntervalMarker
public IntervalMarker()Creates a marker area with two values: the first (start value) and the second (end value). These are initialized as 0.- Seit:
- 8.0
-
-
Methodendetails
-
getFirstValue
public double getFirstValue()Returns the first value (lower bound) of this marker.- Gibt zurück:
- the firstValue.
- Seit:
- 8.0
-
setFirstValue
public void setFirstValue(double firstValue) Sets the start value (lower bound) of this marker.- Parameter:
firstValue- the start value- Seit:
- 8.0
- Siehe auch:
-
getSecondValue
public double getSecondValue()Returns the end value (upper bound) of this marker.- Gibt zurück:
- the end Value.
- Seit:
- 8.0
-
setSecondValue
public void setSecondValue(double secondValue) Sets the end value (upper bound) of this marker.- Parameter:
secondValue- the end value- Seit:
- 8.0
- Siehe auch:
-
getSubProperties
Returns the serialized properties of subclasses.- Setzt außer Kraft:
getSubPropertiesin KlasseAbstractMarker- Parameter:
depth- the depth of XML indent- Gibt zurück:
- the properties.
-
readProperties
Loads the XML properties of a marker.- Setzt außer Kraft:
readPropertiesin KlasseAbstractMarker- Parameter:
element- DOM element to read marker properties fromchart- the Chart this marker belongs to, not null
-
getFirstValueFormula
Get the Formula which returns the first value of the marker.- Gibt zurück:
- the firstValueFormula, can be null when no formula was set
- Seit:
- 11.3
-
setFirstValueFormula
Set the Formula for the first value of the marker.
Expected type is double or datetime.- Parameter:
firstValueFormula- the firstValueFormula to setisDate- true when this is for a date-axis, so the return type of the formula is DateTime, otherwise it is NUMBER- Löst aus:
IllegalArgumentException- if the given formula has a different type thanFORMULA_PROPERTY- Seit:
- 11.3
-
getSecondValueFormula
Get the Formula which returns the second value for the marker.- Gibt zurück:
- the secondValueFormula, can be null when no formula was set
- Seit:
- 11.3
-
setSecondValueFormula
Set the Formula for the second value of the marker.- Parameter:
secondValueFormula- the secondValueFormula to setisDate- true when this is for a date-axis, so the return type of the formula is DateTime, otherwise it is NUMBER- Löst aus:
IllegalArgumentException- if the given formula has a different type thanFORMULA_PROPERTY- Seit:
- 11.3
-
isFirstValueFormulaDate
public boolean isFirstValueFormulaDate()Get whether the firstValueFormula returns Date- Gibt zurück:
- the firstValueFormulaIsDate
- Seit:
- 11.3
-
isSecondValueFormulaDate
public boolean isSecondValueFormulaDate()Get whether the secondValueFormula returns Date- Gibt zurück:
- the secondValueFormulaIsDate
- Seit:
- 11.3
-