找回密码
 立即注册

QQ登录

只需一步,快速开始

SnailRun

高级会员

56

主题

182

帖子

1144

积分

高级会员

积分
1144

活字格认证微信认证勋章

SnailRun
高级会员   /  发表于:2015-5-22 13:58  /   查看:4651  /  回复:4
ar中添加图片是不是可以通过DocumentMap.Path来指定?或者有什么方法?

4 个回复

倒序浏览
frank.zhang
社区贡献组   /  发表于:2015-5-22 16:34:00
沙发
您好,
您是在哪种模板上添加图片,是区域报表还是RDL报表?
您是想通过后台代码的方式来在运行时,设置代码吗?
回复 使用道具 举报
SnailRun
高级会员   /  发表于:2015-5-22 18:02:00
板凳
回复 2楼frank.zhang的帖子




想实现最后一列的效果,td中有值,通过它的值来判断显示哪种图片

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 使用道具 举报
frank.zhang
社区贡献组   /  发表于:2015-5-25 09:43:00
地板
您好,
您在上文提到的这个箭头模板,我们通过IconSet这个函数来实现的。
  1. =IconSet("Arrows",Fields!销售量.Value /Avg(Fields!销售量.Value, "SalesByCategory") >= 1.5,Fields!销售量.Value /Avg(Fields!销售量.Value, "SalesByCategory") >= 1.2,Fields!销售量.Value /Avg(Fields!销售量.Value, "SalesByCategory") >= 1.0,Fields!销售量.Value /Avg(Fields!销售量.Value, "SalesByCategory") >= 0.8,Fields!销售量.Value /Avg(Fields!销售量.Value, "SalesByCategory") < 0.8)
复制代码
参考博客:http://blog.gcpowertools.com.cn/ ... DataVisualizer.aspx

这个函数的用法:
Parameters
Icon Set. This designates the name of the icon set to use.
Icon 1 Value. A Boolean expression that, if it evaluates to True, renders this icon from the strip.
Icon 2 Value. A Boolean expression that, if it evaluates to True, renders this icon from the strip.
Icon 3 Value. A Boolean expression that, if it evaluates to True, renders this icon from the strip.
Icon 4 Value. A Boolean expression that, if it evaluates to True, renders this icon from the strip.
Icon 5 Value. A Boolean expression that, if it evaluates to True, renders this icon from the strip.

在自定义图片时,可以使用
=IconSet("C:\Images\customstrip.bmp", 4 > 9, 5 > 9, 10 > 9, False, False)

官方文档:http://arhelp.grapecity.com/webhelp/AR9/index.html#IconSets.html
回复 使用道具 举报
frank.zhang
社区贡献组   /  发表于:2015-6-1 17:44:00
5#
您好,
距离这个问题的最后回复已经过去了一段时间,不知道这个问题您是否已经解决?
如果没有解决,欢迎跟贴接续讨论,如果已经解决请对本次服务进行评分。我们会认真对待你提出的宝贵意见,谢谢
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部