简体   繁体   English

如何让 Excel 图表中的数据标签旁边有一个正方形,与我的图例中的相同?

[英]How do I make my Data Labels in my Excel chart have a square next to it that are the same are the ones in my Legend?

I have a Pie chart and since there are many data I want to show values and % in the Data Labels.我有一个饼图,因为有很多数据,我想在数据标签中显示值和百分比。 Those two are quite simple but I want to add the square next to the data labels that is the same as the one that appears in the Legends so it is easier to know what you are looking for.这两个非常简单,但我想在数据标签旁边添加与图例中出现的相同的方块,以便更容易知道您在寻找什么。

Right click on the data label, select "Format Data Labels..." and under "Label Options" check the "Legend Key" checkbox.右键单击数据标签,选择“格式化数据标签...”,然后在“标签选项”下选中“图例键”复选框。

This will add the little square as it appears on the legend.这将添加出现在图例上的小方块。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何根据应用程序屏幕上的标签使UFT脚本跳过excel中的单元格 - How do I make my UFT script skip a cell in excel based on the labels on the application screen 如何操作 excel 中的数据并使用原始数据在 excel 中创建漏斗图? - How do I manipulate my data in excel and create a funnel chart in excel with raw data? 我已经过滤了我的 Excel 数据,现在我想对行进行编号。 我怎么做? - I have filtered my Excel data and now I want to number the rows. How do I do that? 如何将C#excel导出中的复选框替换为1和0? - How do I replace the checkboxes in my C# excel export to ones and zeros? Grails:如何使列表成为MS Excel文件? - Grails: How do I make my list a MS Excel file? 如何将Excel数据导入Word的ContentControl - How do I get my Excel data into Word's ContentControl 如何使用VBA更改数据透视图图例名称 - How do I Change my PivotChart Legend name using VBA 如何在当前目录中创建数据源? - How do I make my data source in the current directory? 在excel中输入公式中的数据之前,如何将结果字段保留为空? - How do I keep my result field blank until data in my formula is entered in excel? 如何在Excel公式中自动更改部分数据 - How do I automatically change a part of my data in my excel formula
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM