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

NameTypeAccessDescription
valueTypeintReadGets the type of the X value stored in the object.
stringValueStringReadGets the stored string value.
doubleValuedoubleReadGets the stored numeric value.
dateTimeValuejava.util.DateReadGets the date time value.
timeValuelongReadGets the time value.
multilevelValueChartMultilevelValueReadGets the stored multilevel value.

Methods

SignatureDescription
fromString(value: String) → ChartXValueCreates a ChartXValue instance of the ChartXValueType.STRING type.
fromDouble(value: double) → ChartXValueCreates a ChartXValue instance of the ChartXValueType.DOUBLE type.
fromDateTime(value: java.util.Date) → ChartXValueCalls the static method fromDateTime(value) of ChartXValue.
fromTimeSpan(value: long) → ChartXValueCalls the static method fromTimeSpan(value) of ChartXValue.
fromMultilevelValue(value: ChartMultilevelValue) → ChartXValueCreates a ChartXValue instance of the ChartXValueType.MULTILEVEL type.
hashCode() → intGets a hash code for the current X value object.
equals(obj: Object) → booleanGets a flag indicating whether the specified object is equal to the current X value object.
getValueType() → intGets the type of the X value stored in the object.
getStringValue() → StringGets the stored string value.
getDoubleValue() → doubleGets the stored numeric value.
getDateTimeValue() → java.util.DateReturns the date time value.
getTimeValue() → longReturns the time value.
getMultilevelValue() → ChartMultilevelValueGets the stored multilevel value.

See Also