Hello,
I am trying to get a Microchart from the content into the Header, it is working within the content like this:
<mvc:View controllerName="......controller.Detail"
xmlns:mvc="sap.ui.core.mvc"
xmlns="sap.m"
xmlns:ball="sap.suite.ui.microchart">
<Page navButtonPress="onNavPress" showNavButton="true" title="{Name}">
<content>
<ball:HarveyBallMicroChart total="{Budget1}" totalScale="Mrd" showTotal="true" showFractions="true">
<ball:items> <ball:HarveyBallMicroChartItem fraction="{Budget2}" color="Good" fractionScale="Mrd"/>
</ball:items>
</ball:HarveyBallMicroChart>
<ObjectHeader title="{Name}">
<statuses>
<ObjectStatus text="Periode {Periode}/{Geschäftsjahr}" state="{Status}"/>
<ObjectStatus text="Aktiv" state="{Status}"/>
</statuses>
<attributes>
<ObjectAttribute text="K {Kosten}"/>
<ObjectAttribute text="Version {Version}"/>
</attributes>
</ObjectHeader>
But I can not get it working inside the ObjectHeader.
Is there a way to get it there without sap.uxap.ObjectPageHeader?
Thank you and best regards
Andy
Add comment