当图表在Birt报告中没有数据时需要显示一条消息 [英] Need to display a message when chart not having data in birt report

查看:98
本文介绍了当图表在Birt报告中没有数据时需要显示一条消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有每日事件报告,其中包含图表和事件详细信息.

I have daily incident report which consist charts and incidents details.

在没有数据或突发事件的情况下,报表中的图表将保留空白.

When ever there is no data or incident the charts are left with blank in the report.

我想在那些图表中留言.

I want put a message in those block of charts.

任何人都可以帮助我.

注意:基于图表显示会引发此问题,如果没有可用数据而不是空白,它将显示该消息.

Note : This issue is raised based on Chart display, if there is no data available instead of blank it should display the message.

推荐答案

尽管您可以使用Miki建议的常规"visibilty"属性,但也可以使用现成的功能来处理此问题图表:

Whereas you could make use of the regular "visibilty" property as suggested by Miki, there is also an out-of-the-box feature for handling this in charts:

您可以在此处看到该示例:选择一个不包含以下内容的国家/地区:提供许多经济数据,例如安道尔",并将其与开曼群岛"进行比较:您会在第二张图表中看到此无数据"消息

You can see this example in action here: select a country which does not provide many economic data such "Andorra", and compare it with "Cayman islands": you would see this "No data" message in the second chart

这篇关于当图表在Birt报告中没有数据时需要显示一条消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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