Skip to Content

How to make VizFrame responsive in SAP UI5

Hi,

I am using VizFrame Charts in UI5 Project. As they have predefined height of 480px.
How can I make them responsive so that depending on screen size height adjust accordingly.

I don't want to set Height as follow, as it is not resulting in responsive behaviour.

oVizFrame.setHeight("250px");
oVizFrame.setWidth("550px");

Thanks,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 23, 2017 at 11:34 AM

    Try placing your charts inside a Grid layout. It will be responsive.

    Add comment
    10|10000 characters needed characters exceeded