a month ago
After configuration, the chart did not appear, but the Card is displayed. Below are my Annotation configuration and the current page situation.
```xml
<Annotation Term="UI.Chart" Qualifier="ConsultationByRegion">
<Record>
<PropertyValue Property="Title" String="咨询数量"/>
<PropertyValue Property="MeasureAttributes">
<Collection>
<Record Type="UI.ChartMeasureAttributeType">
<PropertyValue Property="Measure" PropertyPath="constantOne"/>
<PropertyValue Property="Role" EnumMember="UI.ChartMeasureRoleType/Axis1"/>
</Record>
</Collection>
</PropertyValue>
<PropertyValue Property="DimensionAttributes">
<Collection>
<Record Type="UI.ChartDimensionAttributeType">
<PropertyValue Property="Dimension" PropertyPath="geoName"/>
<PropertyValue Property="Role" EnumMember="UI.ChartDimensionRoleType/Category"/>
</Record>
</Collection>
</PropertyValue>
<PropertyValue Property="ChartType" EnumMember="UI.ChartType/Donut"/>
</Record>
</Annotation>
```
- mainfest.json
```json
"ConsultationByRegionCard": {
"model": "mainModel",
"template": "sap.ovp.cards.v4.charts.analytical",
"settings": {
"title": "地区咨询情况",
"entitySet": "ConsultingCustRequest",
"valueSelectionInfo": "比上月",
"chartAnnotationPath": "com.sap.vocabularies.UI.v1.Chart#ConsultationByRegion",
"identificationAnnotationPath": "com.sap.vocabularies.UI.v1.Identification#IDENT",
"dataPointAnnotationPath": "com.sap.vocabularies.UI.v1.DataPoint#TotalQuantity",
"addODataSelect": true
}
}
```
Adding the following content to annotation.xml also has no effect
<Annotation Term="Aggregation.ApplySupported">
<Record>
<PropertyValue Property="GroupableProperties">
<Collection>
<PropertyPath>geoName</PropertyPath>
</Collection>
</PropertyValue>
</Record>
</Annotation>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
12 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.