Skip to Content

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

VIZ Frame / Bar diagramm not working

Hi All,

I have the case that bar diagram is not printed.

View part of the diagramm:

<viz:VizFrame id="idVizFrameBar" uiConfig="{applicationSet: 'fiori'}"

  vizType="info/bar">

  </viz:VizFrame>

Controller part of the diagram:

var oVizFrame = this.getView().byId("idVizFrameBar");

  sap.ui.getCore().setModel(oModel);

  var oDataset = new sap.viz.ui5.data.FlattenedDataset({

  dimensions : [ {

  name : "Bezeichnung",

  value : "{BEZEICHNUNG}"

  } ],

  measures : [ {

  name : "Anzahl",

  value : "{ANZAHL}"

  } ],

  data : "{/OBJECTSet}"

  });

  oVizFrame.setDataset(oDataset);

the oModel is created earlier in code and is working because binding in other components is working.

In the sap gui no data is printed...

Thanks for information.

Best regards,

Christoph

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