ChartYValue

Overview

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

Represents an Y value for a chart series.

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

Properties

NameTypeAccessDescription
ValueTypeChartYValueTypeReadGets the type of the Y value stored in the object.
DoubleValuedoubleReadGets the stored numeric value.
DateTimeValueDateTimeReadGets the stored datetime value.
TimeValueTimeSpanReadGets the stored time value.

Methods

SignatureDescription
FromDouble(value: double)Creates a ChartYValue instance of the Double type.
FromDateTime(value: DateTime)Creates a ChartYValue instance of the DateTime type.
FromTimeSpan(value: TimeSpan)Creates a ChartYValue instance of the Time type.
GetHashCode()Gets a hash code for the current Y value object.
Equals(obj: object)Gets a flag indicating whether the specified object is equal to the current Y value object.

See Also