ChartDataPointCollection
Overview
ChartDataPointCollection is a class in Aspose.Slides FOSS for Python.
Inherits from: IChartDataPointCollection.
Represents collection of data points for a series.
This class declares 28 methods for ChartDataPointCollection objects in Python programs.
Available methods include: __getitem__, __iter__, __len__, add_data_point_for_area_series, add_data_point_for_bar_series, add_data_point_for_bubble_series, add_data_point_for_doughnut_series, add_data_point_for_line_series, add_data_point_for_pie_series, add_data_point_for_radar_series, add_data_point_for_scatter_series, add_data_point_for_stock_series, and 4 additional methods.
Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: data_source_type_for_bubble_sizes, data_source_type_for_error_bars_custom_values, data_source_type_for_values, data_source_type_for_x_values, data_source_type_for_y_values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
data_source_type_for_error_bars_custom_values | IDataSourceTypeForErrorBarsCustomValues | Read | Type of values in custom error bars properties. |
data_source_type_for_values | DataSourceType | Read/Write | Gets or sets the data source type for values. |
data_source_type_for_x_values | DataSourceType | Read/Write | Gets or sets the data source type for x values. |
data_source_type_for_y_values | DataSourceType | Read/Write | Gets or sets the data source type for y values. |
data_source_type_for_bubble_sizes | DataSourceType | Read/Write | Gets or sets the data source type for bubble sizes. |
Methods
| Signature | Description |
|---|---|
__len__() → int | Calls len on this ChartDataPointCollection instance. |
__getitem__(index: int) → ChartDataPoint | Calls getitem(index) on this ChartDataPointCollection instance. |
__iter__() | Calls iter on this ChartDataPointCollection instance. |
add_data_point_for_bar_series(value) → IChartDataPoint | Adds a data point with the given value to a bar series and returns the point |
add_data_point_for_line_series(value) → IChartDataPoint | Calls add_data_point_for_line_series(value) on this ChartDataPointCollection instance. |
add_data_point_for_pie_series(value) → IChartDataPoint | Calls add_data_point_for_pie_series(value) on this ChartDataPointCollection instance. |
add_data_point_for_doughnut_series(value) → IChartDataPoint | Calls add_data_point_for_doughnut_series(value) on this ChartDataPointCollection instance. |
add_data_point_for_area_series(value) → IChartDataPoint | Calls add_data_point_for_area_series(value) on this ChartDataPointCollection instance. |
add_data_point_for_radar_series(value) → IChartDataPoint | Calls add_data_point_for_radar_series(value) on this ChartDataPointCollection instance. |
add_data_point_for_stock_series(value) → IChartDataPoint | Calls add_data_point_for_stock_series(value) on this ChartDataPointCollection instance. |
add_data_point_for_surface_series(value) → IChartDataPoint | Calls add_data_point_for_surface_series(value) on this ChartDataPointCollection instance. |
add_data_point_for_scatter_series(x_value, y_value) → IChartDataPoint | Adds a data point with the given X and Y values to a scatter series and returns the point |
add_data_point_for_bubble_series(x_value, y_value, bubble_size) → IChartDataPoint | Adds a data point with X, Y and bubble size to a bubble series and returns the point |
clear() | Removes all data points from the collection |
remove(value: ChartDataPoint) | Removes the specified ChartDataPoint from the collection |
remove_at(index: int) | Removes the data point at the given index from the collection |
add_data_point_for_stock_series() → IChartDataPoint | |
add_data_point_for_line_series() → IChartDataPoint | |
add_data_point_for_scatter_series() → IChartDataPoint | |
add_data_point_for_radar_series() → IChartDataPoint | |
add_data_point_for_bar_series() → IChartDataPoint | |
add_data_point_for_area_series() → IChartDataPoint | |
add_data_point_for_pie_series() → IChartDataPoint | |
add_data_point_for_doughnut_series() → IChartDataPoint | |
add_data_point_for_bubble_series() → IChartDataPoint | |
add_data_point_for_surface_series() → IChartDataPoint | |
remove(value) | Calls remove(value) on this ChartDataPointCollection instance. |
remove_at(index) | Calls remove_at(index) on this ChartDataPointCollection instance. |