Skip to Content
2
Nov 02, 2021 at 02:38 PM

Customizing analytical cards - Header and Semantic colors (Fiori OVP)

276 Views

Hi all,

I've been trying to customize some cards for Fiori Elements Overview Page without luck.

1. Unable to remove formatter for card header

headerchart.png

I would like it to show the complete number, and not just 8K. I've played a bit around with ScaleFactor, and tried to do it through javascript without getting anywhere.

<Annotation Term="UI.DataPoint" Qualifier="CountTest">
<Record Type="UI.DataPointType">
<PropertyValue Property="Value" Path="AssessmentCountDistinct"/>
<PropertyValue Property="ValueFormat">
<Record>
<PropertyValue Property="ScaleFactor" Decimal="1" />
</Record>
</PropertyValue>
</Record>
</Annotation>

2. Use semantic coloring

ratingchart.png

As the chart has different ratings, I would like to apply semantic coloring. I've tried multiple approaches, including specifing the color-pallette in two different ways (Approach 1 and Apporach 2), as well as defining criticality using datapoints as we do in analytical charts. The closest I've gotten is that all columns turn black, and the legend updates to Good/Bad etc. If anyone have any specific samples or snippets they could send it would be greatly appreciated.

Thanks for any input.

Attachments

headerchart.png (21.1 kB)
ratingchart.png (17.2 kB)