scanny / python-pptx

Create Open XML PowerPoint documents in Python
MIT License
2.44k stars 528 forks source link

feature: adding data tables to charts #726

Closed soumyand closed 3 years ago

soumyand commented 3 years ago

how to create COLUMN_CLUSTERED or COLUMN_STACKED charts that include automatically-generated data tables with the legend like below using python-pptx library.

image

https://stackoverflow.com/questions/68683062/adding-data-tables-to-column-clustered-or-column-stacked-charts-with-python-pptx

scanny commented 3 years ago

Example XML in #373

soumyand commented 3 years ago

Thanks. it worked. https://github.com/scanny/python-pptx/issues/373

dTable = """ <c:dTable xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">

"""
scanny commented 3 years ago

Duplicate of #373