Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 41 additions & 2 deletions docs/user/charts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,47 @@
Working with charts
===================

|pp| supports adding charts and modifying existing ones. Most chart types
other than 3D types are supported.
|pp| supports adding charts and modifying existing ones.


Supported chart types
---------------------

To create a chart with :meth:`~.SlideShapes.add_chart`, use one of these
:ref:`XL_CHART_TYPE <XlChartType>` members.

.. list-table:: Chart types supported for creation
:header-rows: 1
:widths: 20 80

* - Chart family
- ``XL_CHART_TYPE`` members
* - Area
- ``AREA``, ``AREA_STACKED``, ``AREA_STACKED_100``
* - Horizontal bar
- ``BAR_CLUSTERED``, ``BAR_STACKED``, ``BAR_STACKED_100``
* - Column
- ``COLUMN_CLUSTERED``, ``COLUMN_STACKED``, ``COLUMN_STACKED_100``
* - Doughnut
- ``DOUGHNUT``, ``DOUGHNUT_EXPLODED``
* - Line
- ``LINE``, ``LINE_STACKED``, ``LINE_STACKED_100``,
``LINE_MARKERS``, ``LINE_MARKERS_STACKED``, ``LINE_MARKERS_STACKED_100``
* - Pie
- ``PIE``, ``PIE_EXPLODED``
* - Radar
- ``RADAR``, ``RADAR_FILLED``, ``RADAR_MARKERS``
* - XY (scatter)
- ``XY_SCATTER``, ``XY_SCATTER_LINES``, ``XY_SCATTER_LINES_NO_MARKERS``,
``XY_SCATTER_SMOOTH``, ``XY_SCATTER_SMOOTH_NO_MARKERS``
* - Bubble
- ``BUBBLE``, ``BUBBLE_THREE_D_EFFECT``

Use a |CategoryChartData| object for area, bar, column, doughnut, line, pie,
and radar charts. XY charts require an |XyChartData| object, and bubble charts
require a |BubbleChartData| object. See :ref:`chart-data-api` for these classes.

``BUBBLE_THREE_D_EFFECT`` applies a 3D visual effect to a 2D bubble chart.


Adding a chart
Expand Down