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 provides 13 methods for working with ChartDataPointCollection objects in Python programs.
Available methods include: 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, add_data_point_for_surface_series, clear, remove, and 1 additional methods.
All 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 |
|---|---|
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 | |
add_data_point_for_pie_series(value) → IChartDataPoint | |
add_data_point_for_doughnut_series(value) → IChartDataPoint | |
add_data_point_for_area_series(value) → IChartDataPoint | |
add_data_point_for_radar_series(value) → IChartDataPoint | |
add_data_point_for_stock_series(value) → IChartDataPoint | |
add_data_point_for_surface_series(value) → IChartDataPoint | |
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 |