Hi,
I have already tried the method you described as:
==============================================
measures : [
{
name : 'AGS',
value: { path:"quarter>end_ags",
formatter: function(fValue) {
jQuery.sap.require("sap.ui.core.format.DateFormat");
var oDateFormat = sap.ui.core.format.DateFormat.getDateTimeInstance({pattern: "yyyyMMdd"});
return oDateFormat.format(new Date(fValue));
}
}
},
{
name : 'IT',
value: { path:"quarter>devclose_ags",
formatter: function(fValue) {
jQuery.sap.require("sap.ui.core.format.DateFormat");
var oDateFormat = sap.ui.core.format.DateFormat.getDateTimeInstance({pattern: "yyyyMMdd"});
return oDateFormat.format(new Date(fValue));
}
}
}
],
======================================================
If I use this code, the chart will show nothing. The formatter does not work.