Klasse LineMarker
java.lang.Object
com.inet.report.chart.axis.AbstractMarker
com.inet.report.chart.axis.LineMarker
- Alle implementierten Schnittstellen:
Serializable
Class to create line markers in a chart plot. A line has one value for the position, and is
drawn perpendicular to its axis
- 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
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungprotected StringBuildergetSubProperties(int depth) Returns the serialized properties of subclasses.doublegetValue()Returns the value (position) of this marker.Get the Formula for the value of the marker.booleanGet whether the valueFormulam returns DatevoidreadProperties(Element element, Chart2 chart) Loads the XML properties of a marker.voidsetValue(double value) Sets the value (position) for this marker.voidsetValueFormula(FormulaField valueFormula, boolean isDate) Set the Formula which returns the value for the marker.
Expected type is NUMBER or datetime.Von Klasse geerbte Methoden AbstractMarker
getColor, getLineStyle, getLineWidth, getMarkerReferencesIfExist, setColor, setLineStyle, setLineWidth
-
Konstruktordetails
-
LineMarker
public LineMarker()Creates a line marker on the 0 line of current chart axis.- Seit:
- 8.0
-
-
Methodendetails
-
getValue
public double getValue()Returns the value (position) of this marker.- Gibt zurück:
- the position of this marker
- Seit:
- 8.0
- Siehe auch:
-
setValue
public void setValue(double value) Sets the value (position) for this marker.- Parameter:
value- the position- 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
-
setValueFormula
Set the Formula which returns the value for the marker.
Expected type is NUMBER or datetime.- Parameter:
valueFormula- the new value-formulaisDate- 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
-
getValueFormula
Get the Formula for the value of the marker.- Gibt zurück:
- the formula for the marker, can be null
- Seit:
- 11.3
-
isValueFormulaDate
public boolean isValueFormulaDate()Get whether the valueFormulam returns Date- Gibt zurück:
- the valueFormulaDate
- Seit:
- 11.3
-