Need to display a message when chart not having data in birt report

回眸只為那壹抹淺笑 提交于 2019-12-12 03:20:04

问题


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.

Any body can help me in these.

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


回答1:


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



来源:https://stackoverflow.com/questions/26460804/need-to-display-a-message-when-chart-not-having-data-in-birt-report

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!