擅长:python、mysql、java
<p>根据<a href="https://openpyxl.readthedocs.io/en/stable/api/openpyxl.chart.legend.html." rel="nofollow noreferrer">openpyxl documentation</a>的错误代码,我们找到了以下用法:</p>
<pre><code>openpyxl.chart.legend.Legend(legendEntry=())
</code></pre>
<p>因此,在Legenentry中输入要更新地物的列表。我相信在你的情况下,这将是</p>
<pre><code>chartABC.legend.Legend(legendEntry=(['test', 'test', 'test']))
</code></pre>