如何在 Crystal Reports 10 中更改图表对象的图例文本 [英] How to Change Legend Text of a Chart Object in Crystal Reports 10

查看:22
本文介绍了如何在 Crystal Reports 10 中更改图表对象的图例文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Crystal Reports 10 中更改图表对象的图例文本?

How to Change Legend Text of a Chart Object in Crystal Reports 10?

我用水晶报表的图表做了一个报告.图表显示了那里有多少男性和女性.所以现在男性以 int = 0 进入数据库,女性以 int = 1 进入数据库,所以在图表显示的图例中 0 = 226 和 1 = 44, 表示男性 = 226,女性 = 44.我需要制定一个公式,可以将 0 更改为男性,将 1 更改为女性.请看下图:

I did a report with chart by Crystal Report. The chart show me how many males and females there. So now the male enter to database as int = 0, and the females enter to database as int = 1, so in legend of chart display 0 = 226 and 1 = 44, means that the Males = 226, and the Females = 44. I need to make a formula that can change the 0 to Males, and the 1 to Females. please see the picture below:

查看格式对象我找不到任何显示字符串公式:

See the Format Object I couldnot find any Display strings formula:

推荐答案

获得这里:

我遇到了同样的困难并找到了答案(至少对我来说,是解决方案).

I had the same dificulty and found de answer (at least for me, was the solution).

以下(我使用 CR 2008):
1. 在 CR 中打开报表.
2. 通过单击查看 -> 打印预览
将报表设置为预览模式"3. 在预览模式"下,选择要更改文本的图例标签.
4.右键单击图例标签并选择编辑轴标签"
5. 然后,选择图表,右键单击并选择图表专家 -> 将模板应用于组.
6 保存修改后的报告.

Below (I use CR 2008):
1. Open report in CR.
2. Set report do "Preview Mode" by clicking View -> Print Preview
3. When in "Preview Mode", select the Legend label you want to change the text of.
4. Right click on the Legend label and select "Edit Axis Label"
5. Then, select the chart, right click and select Chart Expert -> Apply template to group.
6 Save the modified report.

这篇关于如何在 Crystal Reports 10 中更改图表对象的图例文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆