Jump to content
We've recently updated our Privacy Statement, available here ×
  • Dashboard Height Getting Limited to 400px When Rendered Via Visualize.js


    asimkin
    • Features: Dashboards Version: v7.2 Product: JasperReports® Server

    Issue Description

    User created a dashboard. The he runs it on TIBCO JasperReports® Server UI, the dashboard retains the size given to it.

    This can be verified via dashboardCanvas jr class on the console.

    But, when this dashboard is rendered via Visualize.js, the dashboard's height is getting limited to 400px always.


    Resolution

    Visualize.js sets dashboardCanvas div element height to 400px if no height set to container element where dashboard rendered.

    To change the behavior and make the dashboard size dynamic, you should specify elements heights for HTML document <head> </head> tags like

    <style type="text/css">
    html, body {
        height: 100%;
    }
    #container {
        height: 100%;
    }
    </style>
    

    where container is ID of DIV element to render dashboard:

    <body>
    <div id="container"></div>
    </body>
    

    Solution tested with TIBCO JasperReports® Server v.7.2.0


    AS-20190918, case #01799857


    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...