ChartYValue
Overview
ChartYValue is a class in Aspose.Words FOSS for Java.
Represents an Y value for a chart series.
Edition status of its 13 listed members (a property and its accessor methods are listed separately, overloads once): 13 not yet exercised by a verified example.
This class declares 9 methods for ChartYValue objects in Java programs.
Available methods include: equals, fromDateTime, fromDouble, fromTimeSpan, getDateTimeValue, getDoubleValue, getTimeValue, getValueType, hashCode.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: dateTimeValue, doubleValue, timeValue, valueType.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
valueType | int | Read | Gets the type of the Y value stored in the object. |
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. |
Methods
| Signature | Description |
|---|---|
fromDouble(value: double) → ChartYValue | Creates a ChartYValue instance of the ChartYValueType.DOUBLE type. |
fromDateTime(value: java.util.Date) → ChartYValue | Calls the static method fromDateTime(value) of ChartYValue. |
fromTimeSpan(value: long) → ChartYValue | Calls the static method fromTimeSpan(value) of ChartYValue. |
hashCode() → int | Gets a hash code for the current Y value object. |
equals(obj: Object) → boolean | Gets a flag indicating whether the specified object is equal to the current Y value object. |
getValueType() → int | Gets the type of the Y value stored in the object. |
getDoubleValue() → double | Gets the stored numeric value. |
getDateTimeValue() → java.util.Date | Returns the date time value. |
getTimeValue() → long | Returns the time value. |