Skip to Content
0
Aug 16, 2013 at 11:44 AM

Vizchart not visible in Dialog control

31 Views

I have a bar chart that I add to a dialog control as in code snippet.

var oFirstDialog = new sap.ui.commons.Dialog({modal: true});

oFirstDialog.setTitle("Run Time Statistics");

var oBarChartST = new sap.viz.ui5.Bar({

width : "1200px",

height : "400px",

title:{ visible: true, emphasized: true, text: 'Statistics for last Crew Recovery Generation Run' },

titleHorizontalAlign: 'Left',

lineMarkerAndThickness: { lineMarkerSize:20, lineThickness:3 },

dataset : oDatasetST,

visible : true

});

// attach the model to the chart

oBarChartST.setModel(oModelST);

oFirstDialog.addContent(oBarChartST);

This used to work till release 48 of HANA. But since upgraded to release 60, the bar chart is no longer visible. On inspecting the html, the bar chart is there but inherits visibility:hiddent from sap-ui-static.

Is there a change to the API that I need to take care of? I am able to add other content to the dialog, only the vizcharts seem to become invisible.