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