Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAPUI5 Layout which accepts MII I5charts/Grids

Hello,

I am trying to create a page with several I5Charts and normal UI5 tables and use them in a matrix layout to align them.

I get below JS error when I try to place I5charts to a matrix/virtical/horizontal layout.

Which layout container in UI5 that MII charts can be placed in?

Regards

Suneel

Error: "[object Object]" is not valid for aggregation "rows" of Element sap.ui.commons.layout.MatrixLayout#__layout0 @ https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js:134

Below is the code snippet

        var a  = new sap.ui.commons.layout.MatrixLayout ( { widths : "100%" } );

        var graph = new com.sap.xmii.chart.hchart.i5Chart("Mii/Common/Avail", "Mii/PM/Query/Avail");

        graph.setChartWidth("640px");

        graph.setChartHeight("400px");

       

        a. addRow(graph);

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question