Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3668

microchart data binding NaN

$
0
0

Sorry if I can't share the code in JBin , but the problem is with the data coming from oData with JSON works as expected.

 

I am binding the data from an oData model, everything works except for the value. If I hover the mouse cursor on the bar is see is displaying NaN.

 

var oCmprsDataTmpl = new sap.suite.ui.commons.ComparisonData({

     title : "{Title}",

     color : "{Color}",

     value : "{Value}",

});

 

The entity field is declared as float and in the DB there are valid numbers, it is only not working in the binding.

 

I have tried many combinations but probably I am missing something that I can't find in the documentation...

 

Any ideas?

 

Many thanks!

 

SO


Viewing all articles
Browse latest Browse all 3668

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>