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