ChartXValue
Overview
ChartXValue is a class in Aspose.Words FOSS for Java.
Represents an X value for a chart series.
Edition status of its 19 listed members (a property and its accessor methods are listed separately, overloads once): 19 not yet exercised by a verified example.
This class declares 13 methods for ChartXValue objects in Java programs.
Available methods include: equals, fromDateTime, fromDouble, fromMultilevelValue, fromString, fromTimeSpan, getDateTimeValue, getDoubleValue, getMultilevelValue, getStringValue, getTimeValue, getValueType, and 1 additional methods.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: dateTimeValue, doubleValue, multilevelValue, stringValue, timeValue, valueType.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
valueType | int | Read | Gets the type of the X value stored in the object. |
stringValue | String | Read | Gets the stored string value. |
doubleValue | double | Read | Gets the stored numeric value. |
dateTimeValue | java.util.Date | Read | Gets the date time value. |
timeValue | long | Read | Gets the time value. |
multilevelValue | ChartMultilevelValue | Read | Gets the stored multilevel value. |
Methods
| Signature | Description |
|---|---|
fromString(value: String) → ChartXValue | Creates a ChartXValue instance of the ChartXValueType.STRING type. |
fromDouble(value: double) → ChartXValue | Creates a ChartXValue instance of the ChartXValueType.DOUBLE type. |
fromDateTime(value: java.util.Date) → ChartXValue | Calls the static method fromDateTime(value) of ChartXValue. |
fromTimeSpan(value: long) → ChartXValue | Calls the static method fromTimeSpan(value) of ChartXValue. |
fromMultilevelValue(value: ChartMultilevelValue) → ChartXValue | Creates a ChartXValue instance of the ChartXValueType.MULTILEVEL type. |
hashCode() → int | Gets a hash code for the current X value object. |
equals(obj: Object) → boolean | Gets a flag indicating whether the specified object is equal to the current X value object. |
getValueType() → int | Gets the type of the X value stored in the object. |
getStringValue() → String | Gets the stored string value. |
getDoubleValue() → double | Gets the stored numeric value. |
getDateTimeValue() → java.util.Date | Returns the date time value. |
getTimeValue() → long | Returns the time value. |
getMultilevelValue() → ChartMultilevelValue | Gets the stored multilevel value. |