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

NameTypeAccessDescription
valueTypeintReadGets the type of the Y value stored in the object.
doubleValuedoubleReadGets the stored numeric value.
dateTimeValuejava.util.DateReadGets the date time value.
timeValuelongReadGets the time value.

Methods

SignatureDescription
fromDouble(value: double) → ChartYValueCreates a ChartYValue instance of the ChartYValueType.DOUBLE type.
fromDateTime(value: java.util.Date) → ChartYValueCalls the static method fromDateTime(value) of ChartYValue.
fromTimeSpan(value: long) → ChartYValueCalls the static method fromTimeSpan(value) of ChartYValue.
hashCode() → intGets a hash code for the current Y value object.
equals(obj: Object) → booleanGets a flag indicating whether the specified object is equal to the current Y value object.
getValueType() → intGets the type of the Y value stored in the object.
getDoubleValue() → doubleGets the stored numeric value.
getDateTimeValue() → java.util.DateReturns the date time value.
getTimeValue() → longReturns the time value.

See Also