"com.myCompany.sd.dt.summary_card01": {
"model": "ZMY_MODEL",
"template": "sap.ovp.cards.charts.analytical",
"settings": {
"title": "{{com.myCompany.sd.dt.summary_card01_title}}",
"subTitle": "{{com.myCompany.sd.dt.summary_card01_subTitle}}",
"entitySet": "MYEntitySet",
"chartAnnotationPath": "com.sap.vocabularies.UI.v1.Chart#MyQualifierStat"
}
}
<Annotations Target="ZMYModel.MYEntitySet">
<Annotation Term="UI.Chart" Qualifier="MyQualifier">
<Record Type="UI.ChartDefinitionType">
<PropertyValue Property="ChartType" EnumMember="UI.ChartType/Donut" />
<PropertyValue Property="MeasureAttributes">
<Collection>
<Record Type="UI.ChartMeasureAttributeType">
<PropertyValue Property="Measure" PropertyPath="Measure" />
<PropertyValue Property="Role" EnumMember="UI.ChartMeasureRoleType/Axis1" />
</Record>
</Collection>
</PropertyValue>
<PropertyValue Property="DimensionAttributes">
<Collection>
<Record Type="UI.ChartDimensionAttributeType">
<PropertyValue Property="Dimension" PropertyPath="Dimension1" />
<PropertyValue Property="Role" EnumMember="UI.ChartDimensionRoleType/Category" />
</Record>
</Collection>
</PropertyValue>
<PropertyValue Property="Measures">
<Collection>
<PropertyPath />
</Collection>
</PropertyValue>
<PropertyValue Property="Actions" />
<PropertyValue Property="Title" String="My Donut Chart" />
<PropertyValue Property="Dimensions">
<Collection>
<PropertyPath />
</Collection>
</PropertyValue>
</Record>
</Annotation>
</Annotations>
{
"d": {
"results": [
{
"Vbeln": "1234",
"Measure": "1E1",
"Dimension1": "Demo 1",
"Dimension2": "1E1"
},
{
"Vbeln": "1235",
"Measure": "2E1",
"Dimension1": "Demo 2",
"Dimension2": "2E1"
},
{
"Vbeln": "1236",
"Measure": "3E1",
"Dimension1": "Demo 3",
"Dimension2": "3E1"
}
]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 | |
3 |