IChartData class
Contents
[
Hide
]IChartData class
Represents data used for a chart plotting.
The IChartData type exposes the following members:
Properties
Property | Description |
---|---|
chart_data_workbook | Gets the cells factory to create cells used for chart series or categories. Read-only IChartDataWorkbook . |
series | Gets the series. Read-only IChartSeriesCollection . |
series_groups | Gets the groups of series. Read-only IChartSeriesGroupCollection . |
categories | Gets the primary categories (or both primary and secondary categories if IChartData.use_secondary_categories property is false).Read-only IChartCategoryCollection . |
use_secondary_categories | If false then IChartData.secondary_categories property return None and datain IChartData.categories property is used both for primary and secondary series.If true then data in IChartData.secondary_categories property is used for secondary series and datain IChartData.categories property is used for primary series.Read/write bool. |
secondary_categories | Gets the secondary categories if IChartData.use_secondary_categories property is true.Read-only IChartCategoryCollection . |
data_source_type | Represents data source of the chart |
external_workbook_path | Represents external workbook path if data source is external, None otherwise |
Methods
Method | Description |
---|---|
set_external_workbook | Sets external workbook as a data source for the chart. Chart data will be updated from the target workbook. |
set_external_workbook | Sets external workbook as a data source for the chart. |
set_range | 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. |
get_range | Gets chart data range. |
switch_row_column | Swap the data over the axis. Data being charted on the X axis will move to the Y axis and vice versa. |
See Also
- module
aspose.slides.charts
- library
Aspose.Slides