2016-10-28 1 views

답변

1

2 가능성이있다 : 자바 스크립트 코드에서

  1. 세트를 (예에서 컨트롤러의 '의 onInit') :

    var oChart = this.getView().byId("idVizFrame");  
    var asyncChartUpdate = function() { 
        oChart.setVizProperties({ 
         title: { 
          text: "Your title" 
         } 
        }); 
    }; 
    setTimeout(asyncChartUpdate, 0); 
    

나는 비동기 적으로 이런 짓을 didn' 그것 때문에 동기로 나를 위해 일하지 마라.

XML 뷰에서
  • 설정하여

      을 :

      <viz:VizFrame id="idVizFrame" 
          vizProperties="{ title: {text : 'Your Title', visible : true}}" 
          width="100%" vizType="column" uiConfig="{applicationSet:'fiori'}">