BubbleChartData
paper-pptx 0.2.0 API reference
A specialized ChartData object suitable for use with a bubble chart. A bubble chart is essentially an XY chart where the markers are scaled to provide a third quantitative dimension to the exhibit.
Attributes
number_format
attributenumber_formatThe formatting template string, e.g. '#,##0.0', that determines how X and Y values are formatted in this chart and in the Excel spreadsheet. A number format specified on a series will override this value for that series. Likewise, a distinct number format can be specified for a particular data point within a series.
xlsx_blob
attributexlsx_blobReturn a blob containing an Excel workbook file populated with the contents of this chart data object.
Functions
__getitem__
func__getitem__(index)paramindex__len__
func__len__()add_series
funcadd_series(name, number_format=None)Return a BubbleSeriesData object newly created and added at the end
of this sequence, and having series named name and values formatted
with number_format.
paramnameparamnumber_format= Noneappend
funcappend(series)paramseriesbubble_sizes_ref
funcbubble_sizes_ref(series)The Excel worksheet reference for the range containing the bubble sizes for series.
paramseriesdata_point_offset
funcdata_point_offset(series)The total integer number of data points appearing in the series of this chart that are prior to series in this sequence.
paramseriesseries_index
funcseries_index(series)Return the integer index of series in this sequence.
paramseriesseries_name_ref
funcseries_name_ref(series)Return the Excel worksheet reference to the cell containing the name for series.
paramseriesx_values_ref
funcx_values_ref(series)The Excel worksheet reference to the X values for series (not including the column label).
paramseriesxml_bytes
funcxml_bytes(chart_type)Return a blob containing the XML for a chart of chart_type containing the series in this chart data object, as bytes suitable for writing directly to a file.
paramchart_typey_values_ref
funcy_values_ref(series)The Excel worksheet reference to the Y values for series (not including the column label).
paramseries