[Chart Extraction] Unable to extract data from 3D Clustered Column Charts in PPTX
Description
Docling is unable to extract the underlying chart data from 3D Clustered Column Charts embedded in PowerPoint documents.
Reproduction
Input file: 3D-Clustered-Column-Chart.pptx
Chart title: Revenue and EBITDA have grown every year for five years
Chart description: Revenue and EBITDA, FY22 to FY26 (₹ crore).
The chart contains:
- X-axis: FY22, FY23, FY24, FY25, FY26.
- Series 1: Revenue (₹ crore).
- Series 2: EBITDA (₹ crore).
Actual behavior
Docling does not extract the underlying chart data.
The chart is therefore not represented with its actual series values.
Expected behavior
Docling should:
- Recognize and classify the chart as a 3D Clustered Column Chart.
- Extract all data points for both series.
- Preserve the X-axis categories.
- Associate the extracted values with their respective series.
- Preserve the chart title, axis labels and legend.
Impact
The extracted document loses the actual financial data represented in the chart, making it impossible to reconstruct or perform further analysis on the chart.
Extracted Text
FINANCIAL PERFORMANCE | 3D CLUSTERED COLUMN CHART
[3D-Clustered-Column-Chart.pptx](https://github.com/user-attachments/files/34847941/3D-Clustered-Column-Chart.pptx)
# Revenue and EBITDA have grown every year for five years
Revenue and EBITDA, FY22 to FY26 (₹ crore)
<!-- image -->
Other chart
Revenue grew at 9.8% a year from FY22 to FY26
- Revenue rose from ₹33,480 crore to ₹48,620 crore.
- EBITDA margin improved from 39.0% to 44.0%.
3
Classification labels added: priority:medium.
These labels are advisory. Maintainers can correct them. The workflow preserves these corrections.
I could not reproduce this on current main (440492a, after v2.150.1). I converted the attached 3D-Clustered-Column-Chart.pptx with the default DocumentConverter() and the chart comes out as a bar chart with its data:
<!-- image -->
Bar chart
| | Revenue (₹ crore) | EBITDA (₹ crore) |
|------|---------------------|--------------------|
| FY22 | 33480 | 13060 |
| FY23 | 36920 | 14950 |
| FY24 | 39870 | 16540 |
| FY25 | 43150 | 18480 |
| FY26 | 48620 | 21390 |
The chart in the file is a c:bar3DChart. Reading the series of 3-D plots was added in #4811, which is in v2.143.0 and later. The "Other chart" label with no table in your output looks like the behavior before that change. Which docling version did you run? If it is 2.143.0 or newer, the conversion options you used would help.
Hi @EnesSoydan, thank you for taking the time to look into this. I was using an older version of Docling, which I believe doesn't support 3D bar charts. I'll go ahead and close this issue.