diff options
author | PJ Fanning <fanningpj@apache.org> | 2020-09-01 21:04:24 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2020-09-01 21:04:24 +0000 |
commit | 915d1a216e6877f9b15477640ec215ff865f945f (patch) | |
tree | b65f9d8082c72afaff7525e144c1986cead56962 /src/ooxml | |
parent | 3644bb90941b47a4682c4bbc7b3f3fc608fae028 (diff) | |
download | poi-915d1a216e6877f9b15477640ec215ff865f945f.tar.gz poi-915d1a216e6877f9b15477640ec215ff865f945f.zip |
[github-192] Fix DOUGHNUT chart creation. Thanks to Tomás Cerdá. This closes #192
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881380 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml')
-rw-r--r-- | src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java b/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java index f5cc461cc3..88592c0843 100644 --- a/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java +++ b/src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java @@ -650,7 +650,7 @@ public abstract class XDDFChart extends POIXMLDocumentPart implements TextContai Map<Long, XDDFChartAxis> categories = null; Map<Long, XDDFValueAxis> mapValues = null; - if (ChartTypes.PIE != type && ChartTypes.PIE3D != type) { + if (ChartTypes.PIE != type && ChartTypes.PIE3D != type && ChartTypes.DOUGHNUT != type) { categories = Collections.singletonMap(category.getId(), category); mapValues = Collections.singletonMap(values.getId(), values); } |