Thanks Vijay Kalluri.
Already i have code for this in java script. I need to convert this to XML
My code is :
var oTemplate = new sap.suite.ui.commons.ComparisonData({
title: "{ComparisonModel1>STATUS}",
value: {
path: "ComparisonModel1>CNT",
formatter: function(val) {
return Number(val);
}
}
});
var oChart = new sap.suite.ui.commons.ComparisonChart({
colorPalette: ["#1bb7a0", "#ffdc7a", "#f17979"],
view: "Wide",
width: "22rem"
});
oChart.bindAggregation("data", {
path: "ComparisonModel1>/d/results",
template: oTemplate
});
var oBulletChart = new sap.suite.ui.commons.DynamicContainer({
tiles: [
new sap.suite.ui.commons.GenericTile({
header: 'Close Status',
subheader: "TOTAL : " + "{ComparisonModel1>/d/results/0/TOT_COUNT}",
size: sap.suite.ui.commons.InfoTileSize.L,
frameType: sap.suite.ui.commons.FrameType.TwoByOne,
tileContent: [
new sap.suite.ui.commons.TileContent({
content: [oChart]
})
]
})
]
});
return (oBulletChart);
I want XML version of this.
Thanks,
Sandeep