Skip to main content

ChartData Members

Data plotted on a chart.

Constructors

Name Description
ChartData() Initializes a new instance of the ChartData class with the default settings.

Fields

Name Description
ErrorDivisionByZero static Returns the ChartData object specifying the #DIV/0! error value of a cell.
ErrorInvalidValueInFunction static Returns the ChartData object specifying the #VALUE! error value of a cell.
ErrorName static Returns the ChartData object specifying the #NAME? error value of a cell.
ErrorNullIntersection static Returns the ChartData object specifying the #NULL! error value of a cell.
ErrorNumber static Returns the ChartData object specifying the #NUM! error value of a cell.
ErrorReference static Returns the ChartData object specifying the #REF! error value of a cell.
ErrorValueNotAvailable static Returns the ChartData object specifying the #N/A error value of a cell.

Properties

Name Description
ArrayValue Gets the array of values from the chart data.
BooleanValue Gets or sets the boolean value of the chart data.
Empty static Returns empty chart data.
ErrorValue Returns an object that provides information on an error contained in a cell.
IsArray Gets whether the chart data is an array of values.
IsBoolean Gets whether the chart data contains a Boolean value.
IsEmpty Gets whether the chart data is empty.
IsError Gets whether the cell contains an error.
IsNumeric Gets whether the chart data is of the numeric type.
IsRange Gets whether the chart data are obtained from a worksheet cell range.
IsText Gets whether the chart data is text.
NumericValue Gets or sets numeric chart data.
RangeValue Gets or sets the worksheet cell range from which the chart data is obtained.
TextValue Gets or sets the text chart data.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether two objects are equal.
FromArray(CellValue[]) static Converts an array of values to chart data.
FromDateTime(DateTime, Boolean) static Converts the DateTime object to chart data using the specified date system.
FromRange(CellRange) static Converts cell values to chart data for cells in the specified range.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current ChartData object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string representation of the chart data.
ToString(IFormatProvider) Returns a string representation of the chart data.

Operators

Name Description
Equality(ChartData, ChartData) static Compares two ChartData objects for equality.
Implicit(CellValue to ChartData) static Implicitly converts a cell value to chart data.
Implicit(CellValue[] to ChartData) static Implicitly converts an array of cell values to chart data.
Implicit(Boolean to ChartData) static Implicitly converts a Boolean value to chart data.
Implicit(Char to ChartData) static Implicitly converts a Char value to chart data.
Implicit(DateTime to ChartData) static Implicitly converts a DateTime object to chart data.
Implicit(Double to ChartData) static Implicitly converts a Double value to chart data.
Implicit(Int32 to ChartData) static Implicitly converts an Int32 value to chart data.
Implicit(String to ChartData) static Implicitly converts a String value to chart data.
Inequality(ChartData, ChartData) static Compares two ChartData objects to determine whether they are not equal.
See Also