Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to add back button in harveyballmicro chart??

View.xml

<core:View xmlns:core="sap.ui.core"

  controllerName="newinitiative.NewInitiative3" xmlns:html="http://www.w3.org/1999/xhtml"

  xmlns="sap.suite.ui.commons">

  <HarveyBallMicroChart size="M" total="100" totalScale="Mrd" showTotal="true" showFractions="true" press="press" >

    <items>

      <HarveyBallMicroChartItem fraction="63.5" color="Good" valueScale="Mrd" />

    </items>

  </HarveyBallMicroChart>

 

</core:View>

this is my output screen .i want to add back button in this to navigate back to previous view.

thanks and regards,

Abhishek lohiya 

Former Member replied

try this,

<core:View xmlns:core="sap.ui.core"

  controllerName="newinitiative.NewInitiative3" xmlns:html="http://www.w3.org/1999/xhtml"

  xmlns="sap.suite.ui.commons" xmlns:m="sap.m">

<m:Page showNavButton="true" navButtonPress="onBack">

     <HarveyBallMicroChart size="M" total="100" totalScale="Mrd" showTotal="true" showFractions="true" press="press" >

    <items>

      <HarveyBallMicroChartItem fraction="63.5" color="Good" valueScale="Mrd" />

    </items>

  </HarveyBallMicroChart>

  </m:Page>

</core:View>

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question