Hi experts,
I am able to view my generic tile without adding the comparison chart(CHART DATA). When I add the code for comparison chart it stops loading the page with error message.
below is my code for drawing the comparison chart i think i missed something in this....
================================================================
var newContent = new sap.suite.ui.microchart.ComparisonMicroChart("idDeptChart" + i,
{
size: "M"
, scale: ""
, data: [
new sap.suite.ui.microchart.ComparisonMicrochartData({
title: "total Employee"
, value: parseInt(tEmp)
, color: sap.suite.ui.commons.InfoTileValueColor.Good
})
, new sap.suite.ui.microchart.ComparisonMicrochartData({
title: "Emp Count"
, value: parseInt(eCount)
, color: ((parseInt(eCount)) >= (parseInt(tEmp) / 2)) ? "Error" : "Critical"
})
]
});
var tileContent = new sap.m.TileContent("idInTileCont" + i, {
unit: dLead
, size: "L"
, content: [
newContent
]
});
=========================================================
So please help me out to clear this problem in sap version 1.34.8