IChartData Methods

The IChartData type exposes the following members.

Methods
  NameDescription
Public methodCode exampleGetRange
Gets chart data range.
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 methodWriteWorkbookStream
Initializes the internally contained Excel workbook with user-specified value.
See Also