DoughnutPlot
paper-pptx 0.2.0 API reference
An doughnut plot.
Attributes
categories
attributecategoriesReturns a category.Categories sequence object containing
a category.Category object for each of the category labels
associated with this plot. The category.Category class derives from
str, so the returned value can be treated as a simple sequence of
strings for the common case where all you need is the labels in the
order they appear on the chart. category.Categories provides
additional properties for dealing with hierarchical categories when
required.
chart
attributechartThe Chart object containing this plot.
data_labels
attributedata_labelsDataLabels instance providing properties and methods on the
collection of data labels associated with this plot.
has_data_labels
attributehas_data_labelsRead/write boolean, True if the series has data labels. Assigning
True causes data labels to be added to the plot. Assigning False
removes any existing data labels.
series
attributeseriesA sequence of Series objects representing the series in this plot,
in the order they appear in the plot.
vary_by_categories
attributevary_by_categoriesRead/write boolean value specifying whether to use a different color for each of the points in this plot. Only effective when there is a single series; PowerPoint automatically varies color by series when more than one series is present.