Hi Experts,
I am creating a sap overview page with bubble cart, but I am not able to show any data in that cart.
Please help.
Manifest File :
card02": {
"model": "NorthwindModel",
"template": "sap.ovp.cards.charts.bubble",
"settings": {
"title": "Meet Our Staffs!",
"category": "NorthWind Company",
"entitySet": "Sales_Totals_by_Amounts",
"chartAnnotationPath": "com.sap.vocabularies.UI.v1.Chart#SalesTotalsbyAmount",
"dataPointAnnotationPath": "com.sap.vocabularies.UI.v1.DataPoint#SalesTotalsbyAmount"
}
}
Annotation File :
<Annotations Target="NorthwindModel.Sales_Totals_by_Amount" >
<Annotation Qualifier="SalesTotalsbyAmount" Term="com.sap.vocabularies.UI.v1.DataPoint">
<Record Type="com.sap.vocabularies.UI.v1.DataPointType">
<Record Type="com.sap.vocabularies.UI.v1.DataPointType">
<PropertyValue Property="Title" String="{@i18n>@PRODUCTSALES}"/>
<PropertyValue Path="SaleAmount " Property="Value"/>
<PropertyValue Property="NumberFormat">
<Record Type="com.sap.vocabularies.UI.v1.NumberFormat">
<PropertyValue Decimal="10000" Property="ScaleFactor"/>
<PropertyValue Int="10" Property="NumberOfFractionalDigits"/>
</Record>
</PropertyValue>
<PropertyValue Property="CriticalityCalculation">
<Record Type="com.sap.vocabularies.UI.v1.CriticalityCalculationType">
<PropertyValue EnumMember="com.sap.vocabularies.UI.v1.ImprovementDirectionType/Maximizing" Property="ImprovementDirection"/>
<PropertyValue Property="ToleranceRangeLowValue" String="7000"/>
<PropertyValue Property="DeviationRangeLowValue" String="9000"/>
</Record>
</PropertyValue>
</Record>
</Record>
</Annotation>
<Annotation Qualifier="SalesTotalsbyAmount" Term="com.sap.vocabularies.UI.v1.Chart">
<Record Type="com.sap.vocabularies.UI.v1.ChartDefinitionType">
<PropertyValue Property="Title" String="View1"/>
<PropertyValue Property="MeasureAttributes">
<Collection>
<Record Type="UI.ChartMeasureAttributeType">
<PropertyValue Property="Measure" PropertyPath="SaleAmount"/>
<PropertyValue EnumMember="UI.ChartMeasureRoleType/Axis1" Property="Role"/>
</Record>
</Collection>
</PropertyValue>
<PropertyValue Property="DimensionAttributes">
<Collection>
<Record Type="com.sap.vocabularies.UI.v1.ChartDimensionAttributeType">
<PropertyValue Property="Dimension" PropertyPath="ShippedDate"/>
<PropertyValue EnumMember="com.sap.vocabularies.UI.v1.ChartDimensionRoleType/Category" Property="Role"/>
</Record>
</Collection>
</PropertyValue>
</Record>
</Annotation>
</Annotations>
Thanks,
JP