ChartXValue

Overview

ChartXValue is a class in Aspose.Words FOSS for .NET.

Represents an X value for a chart series.

This class provides 7 methods for working with ChartXValue objects in .NET programs. Available methods include: Equals, FromDateTime, FromDouble, FromMultilevelValue, FromString, FromTimeSpan, GetHashCode. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: DateTimeValue, DoubleValue, MultilevelValue, StringValue, TimeValue, ValueType.

Properties

NameTypeAccessDescription
ValueTypeChartXValueTypeReadGets the type of the X value stored in the object.
StringValuestringReadGets the stored string value.
DoubleValuedoubleReadGets the stored numeric value.
DateTimeValueDateTimeReadGets the stored datetime value.
TimeValueTimeSpanReadGets the stored time value.
MultilevelValueChartMultilevelValueReadGets the stored multilevel value.

Methods

SignatureDescription
FromString(value: string)Creates a ChartXValue instance of the String type.
FromDouble(value: double)Creates a ChartXValue instance of the Double type.
FromDateTime(value: DateTime)Creates a ChartXValue instance of the DateTime type.
FromTimeSpan(value: TimeSpan)Creates a ChartXValue instance of the Time type.
FromMultilevelValue(value: ChartMultilevelValue)Creates a ChartXValue instance of the Multilevel type.
GetHashCode()Gets a hash code for the current X value object.
Equals(obj: object)Gets a flag indicating whether the specified object is equal to the current X value object.

See Also