2016-01-21 22 views
0

你好,大家好我有顯示我的餅圖,當我嘗試更多的數據添加到出現此錯誤餅圖一個問題,我需要在這個問題上50053不全維度結合

這是我的控制器代碼你的專業知識。並且該錯誤消息是

[50053] - 不完全結合尺寸

onInit: function() { 
      this._setupSelectionList(); 


//   2.Create a JSON Model and set the data 
      var oModel = new sap.ui.model.json.JSONModel("http://lssinh000.sin3.sap.corp:8000/SAP_LE/lionExpress/Volunteer/Services/request.xsjs"); 

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



//   3. Create Viz dataset to feed to the data to the graph 
      var oDataset = new sap.viz.ui5.data.FlattenedDataset({ 
       dimensions : [{ 

         name : 'Status', 
        value : "{Status}", 



        name : 'StartDate', 
        value : '{StartDate}' 



          }], 

       measures : [{ 
        name : 'reqID', 
        value : '{reqID}', 

       },], 

       data : { 
        path : "/Status" 
       } 
      });  
      oVizFrame.setDataset(oDataset); 
      oVizFrame.setModel(oModel); 

//   4.Set Viz properties 
      oVizFrame.setVizProperties({ 
       title:{ 
        text : "Delivery Summary" 
       }, 
       plotArea: { 
        colorPalette : d3.scale.category20().range(), 
        drawingEffect: "glossy" 
        }}); 

      var feedSize = new sap.viz.ui5.controls.common.feeds.FeedItem({ 
        'uid': "size", 
        'type': "Measure", 
        'values': ["reqID"] 
       }), 
       feedColor = new sap.viz.ui5.controls.common.feeds.FeedItem({ 
        'uid': "color", 
        'type': "Dimension", 
        'values': ["Status"] 
       }), 
       feedValue = new sap.viz.ui5.controls.common.feeds.FeedItem({ 
        'uid': "value", 
        'type': "Dimension", 
        'values': ["StartDate"] 




       }); 
      oVizFrame.addFeed(feedSize); 
      oVizFrame.addFeed(feedColor); 
      oVizFrame.addFeed(feedValue); 
      //this.getView().byId("idPopOver").connect(oVizFrame.getVizUid()); 
     }, 
+0

[SAP歸檔](https://archive.sap.com/discussions/thread/3851432)出現同樣的錯誤。 – santhosh

+0

請不要發佈純文本消息的圖片。我編輯了你的帖子,用報價替換圖片 –

回答

3

在數據集,名稱屬性必須是一樣的,在進料的值陣列。