Skip to content

Commit 071a022

Browse files
authored
Merge pull request #1017 from spinozapps/bugfix/doughnut-legend-libreoffice
bugfix: each data marker on a doughnut as a different color
2 parents 0f49f45 + 9267644 commit 071a022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gen-charts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1426,7 +1426,7 @@ function makeChartType(chartType: CHART_NAME, data: OptsChartData[], opts: IChar
14261426

14271427
// 1: Start Chart
14281428
strXml += '<c:' + chartType + 'Chart>'
1429-
strXml += ' <c:varyColors val="0"/>'
1429+
strXml += ' <c:varyColors val="1"/>'
14301430
strXml += '<c:ser>'
14311431
strXml += ' <c:idx val="0"/>'
14321432
strXml += ' <c:order val="0"/>'

0 commit comments

Comments
 (0)