Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/39.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在BIRT中显示数据立方体中的图像?_Birt - Fatal编程技术网

如何在BIRT中显示数据立方体中的图像?

如何在BIRT中显示数据立方体中的图像?,birt,Birt,我有一个关于伯特的问题。我试图在datacube中显示图像,显示的图像应该是相关的 例如,在行中: 我在这里按照图图制作了一张经典的桌子,它很有效:(参见此处获得设计:) 然后,我在Datacube中尝试将行ImageName作为维度添加到交叉表中,但它不起作用。你知道吗 谢谢我通过将“imageUrl”从我的数据集中拖到数据字段中“团队名称”的右侧解决了这个问题。然后我使“imageUrl”在属性编辑器中不可见。然后我将其值设置为onCreate()中的PGV 然后在“imageUrl”下添加

我有一个关于伯特的问题。我试图在datacube中显示图像,显示的图像应该是相关的

例如,在行中:

我在这里按照图图制作了一张经典的桌子,它很有效:(参见此处获得设计:)

然后,我在Datacube中尝试将行ImageName作为维度添加到交叉表中,但它不起作用。你知道吗


谢谢

我通过将“imageUrl”从我的数据集中拖到数据字段中“团队名称”的右侧解决了这个问题。然后我使“imageUrl”在属性编辑器中不可见。然后我将其值设置为onCreate()中的PGV

然后在“imageUrl”下添加图像元素,并在表达式生成器中使用此脚本:

url = reportContext.getPersistentGlobalVariable("imageUrl");
url;
这将在团队名称的右侧显示每个团队徽标

reportContext.setPersistentGlobalVariable("imageUrl", this.getValue())
url = reportContext.getPersistentGlobalVariable("imageUrl");
url;