title: SAPUI5 - [50053] - Incomplete dimensions binding
body: <p>I'm trying to create a bar chart on SAPUI5 with JSON Data and I have this error : [50053] - Incomplete dimensions binding. According different posts, the error is linked with the names in the FeedvaluesAxis and the Dataset. In my case when I look at my code the two name are similar.</p>
  
  <p>my Bar.Controller.js :</p>
  
  <pre><code>    sap.ui.controller("dataxml.Bar", {
  
  
  onInit: function() {
  
  
          var oVizFrame = this.getView().byId("idcolumn");
  
  
          var oModel = new sap.ui.model.json.JSONModel();
          var data = [{
              "orderid":"1",
              "productname":"Coca",
              "price":"5",
              "launchdate": "20180505",
              "categorie":"1"
      },{
              "orderid":"2",
              "productname":"Ice Tea",
              "price":"8",
              "launchdate": "20180505",
              "categorie":"1"
      },{
              "orderid":"3",
              "productname":"Pepsi",
              "price":"4",
              "launchdate": "20180506",
              "categorie":"1"
      },{
              "orderid":"4",
              "productname":"Coca",
              "price":"5",
              "launchdate": "20180506",
              "categorie":"1"
      },{
              "orderid":"6",
              "productname":"Mango",
              "price":"1",
              "launchdate": "20180605",
              "categorie":"1"
      }]
          oModel.setData(data);
  
  
          var oDataset = new sap.viz.ui5.data.FlattenedDataset({
              dimensions : [{
                      name : "orderid",
                      value : "{orderid}"},{
                      name : "productname",
                      value : "{productname}"},{
                      name : "launchdate",
                      value : "{launchdate}"}],
  
              measures : [{
                  name : "price",
                  value : "{price}"},{
                  name : "category",
                  value : "{category}"
                  }],
  
              data : {
                  path : "/"
              }
          });     
          oVizFrame.setDataset(oDataset);
          oVizFrame.setModel(oModel); 
  
  
          oVizFrame.setVizType('column');
          oVizFrame.setVizProperties({
              plotArea: {
                  colorPalette : d3.scale.category20().range()
                  }});
  
          var feedValueAxis = new sap.viz.ui5.controls.common.feeds.FeedItem({
                'uid': "valueAxis",
                'type': "Measure",
                'values': ["price"]
              }), 
              feedCategoryAxis = new sap.viz.ui5.controls.common.feeds.FeedItem({
                'uid': "categoryAxis",
                'type': "Dimension",
                'values': ["productname"]
              });
          oVizFrame.addFeed(feedValueAxis);
          oVizFrame.addFeed(feedCategoryAxis);
  
          }
  </code></pre>
  
  <p>my index.html :</p>
  
  <pre><code>    &lt;html&gt;
  &lt;head&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
      &lt;meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/&gt;
  
      &lt;script src="resources/sap-ui-core.js"
              id="sap-ui-bootstrap"
              data-sap-ui-libs="sap.m"
              data-sap-ui-theme="sap_bluecrystal"&gt;
      &lt;/script&gt;
      &lt;!-- only load the mobile lib "sap.m" and the "sap_bluecrystal" theme --&gt;
  
      &lt;script&gt;
              sap.ui.localResources("dataxml");
              var app = new sap.m.App({initialPage:"idBar1"});
              var page = sap.ui.view({id:"idBar1", viewName:"dataxml.Bar", type:sap.ui.core.mvc.ViewType.XML});
              app.addPage(page);
              app.placeAt("content");
      &lt;/script&gt;
  
  &lt;/head&gt;
  &lt;body class="sapUiBody" role="application"&gt;
      &lt;div id="content"&gt;&lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>my bar.view.xml : </p>
  
  <pre><code>    &lt;core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc"
  xmlns="sap.m" controllerName="dataxml.Bar" 
      xmlns:viz="sap.viz.ui5.controls"
  xmlns:html="http://www.w3.org/1999/xhtml"&gt;
  &lt;Page title="Bar char"&gt;
      &lt;content&gt;
      &lt;FlexBox justifyContent="Center" alignItems="Start"&gt;                
        &lt;items&gt;
          &lt;viz:VizFrame xmlns="sap.viz" id="idcolumn"&gt;
          &lt;/viz:VizFrame&gt;         
       &lt;/items&gt; 
      &lt;/FlexBox&gt;
      &lt;/content&gt;
  &lt;/Page&gt;
  </code></pre>
  
  <p></p>