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
| Name | Type | Access | Description |
|---|---|---|---|
ValueType | ChartXValueType | 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 | DateTime | Read | Gets the stored datetime value. |
TimeValue | TimeSpan | Read | Gets the stored time value. |
MultilevelValue | ChartMultilevelValue | Read | Gets the stored multilevel value. |
Methods
| Signature | Description |
|---|---|
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. |