Hi all
I am trying to get this pie chart to run, but it just does not work. The Chart as such is not displaying and there are no errors in the console.

The Chart Container and the Legends are shown, but not the chart itself.
Here is the XML view
<mvc:View controllerName="glb.gtpt.ewm.tool.controller.Analytics" xmlns="sap.m" xmlns:viz="sap.viz.ui5.controls"
xmlns:layout="sap.ui.layout" xmlns:mvc="sap.ui.core.mvc" xmlns:viz.feeds="sap.viz.ui5.controls.common.feeds"
xmlns:chart="sap.suite.ui.commons" xmlns:viz.data="sap.viz.ui5.data" height="100%">
<Page title="Pie Chart" showHeader="false" >
<content>
<chart:ChartContainer id="chartContainer" showFullScreen="true" showPersonalization="false" autoAdjustHeight="true" showLegend="true"
personalizationPress="attachPersonalizationPress" contentChange="attachContentChange" title="Migration Status">
<chart:content>
<chart:ChartContainerContent icon="sap-icon://line-chart" title="Pie Chart">
<chart:content>
<viz:VizFrame id="idVizFrame" uiConfig="{applicationSet:'fiori'}" vizType="pie" title="ddddd Title" height='100%' width="100%">
<viz:dataset>
<viz.data:FlattenedDataset data="{/pieData}">
<viz.data:dimensions>
<viz.data:DimensionDefinition name="status" value="{status}"/>
</viz.data:dimensions>
<viz.data:measures>
<viz.data:MeasureDefinition name="percentage" value="{percentage}"/>
</viz.data:measures>
</viz.data:FlattenedDataset>
</viz:dataset>
<viz:feeds>
<viz.feeds:FeedItem uid="size" type="Measure" values="percentage"/>
<viz.feeds:FeedItem uid="color" type="Dimension" values="status"/>
</viz:feeds>
</viz:VizFrame>
</chart:content>
</chart:ChartContainerContent>
</chart:content>
</chart:ChartContainer>
</content>
</Page>
</mvc:View>
And the Data Model
var analyticsJson = new JSONModel({
"pieData": [{
"status": "Completed",
"percentage": "20%"
}, {
"status": "In Progress",
"percentage": "40%"
}, {
"status": "Not Started",
"percentage": "40%"
}]
});
this.getView().byId("idVizFrame").setModel(analyticsJson)
What could be missing here? I tried all possible options, but no luck. I am using sap ui5 version 1.38.4
Regards
Sandip