Skip to Content

Vizchart not visible in Dialog control

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



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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Sep 02, 2013 at 08:51 AM

    You should redraw a chart. Please check below code.;
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 10, 2013 at 08:02 AM

    Thank you, I confirm your suggestion works.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.