ChartData Methods

The ChartData type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodCode exampleGetRange
Gets chart data range.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadWorkbookStream
Writes the internally contained Excel workbook it into an in-memory stream.
Public methodCode exampleSetExternalWorkbook(String)
Sets external workbook as a data source for the chart. Chart data will be updated from the target workbook.
Public methodCode exampleSetExternalWorkbook(String, Boolean)
Sets external workbook as a data source for the chart.
Public methodSetRange
Set chart data range. Series and categories will be updated based on new data range. If amount of series in data range greater than count of series in the chart data then additional series with the same type as a last series in the current collection will be added to the end of the collection.
Public methodSwitchRowColumn
Swap the data over the axis. Data being charted on the X axis will move to the Y axis and vice versa.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteWorkbookStream
Initializes the internally contained Excel workbook with user-specified value.
See Also