Jump to content
We've recently updated our Privacy Statement, available here ×
  • Customizing Ad Hoc View Chart No Data Message


    asimkin
    • Features: Ad Hoc, Charts, Localization Version: v7.1 Product: JasperReports® Server

    Issue Description

    Customer created an Ad Hoc View Chart with a filter. In case if applied filter returns no data, default message displayed:

    'The chart contains no data. Adjust your data levels or filters.'

    Customer would like to customize that message.

    [toc]

    Resolution

    Text for empty Ad Hoc View chart defined in

    WEB-INF/bundles/adhoc_messages*.properties

    bundle files, property

    ADH_1214_ICHARTS_NO_CHART_DATA

    The property value can be changed to required No Data message. It supports a subset of HTML Text Formatting tags, like <b>, <font color=>

    Please refer to printscreen with default mesage and customized one

    ADH_1214_ICHARTS_NO_CHART_DATA=<b><font color="red">The chart contains no data</font></b><br>Please adjust filters

     

    adhocchart_nodatamessage.png.26f843a12db6b3a98539c3b468ba4d1e.png

     

    Please note that ADH_1214_ICHARTS_NO_CHART_DATA property applied to Ad Hoc View Designer only.

    A report, created from that Ad Hoc View is not affected, it displays another default No Data message.


     

    adhocchart_nodatamessage.png.dcd57f31c685af54b290d28715d89d6e.png


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...