Skip to Content
avatar image
Former Member

How can I remove the title and close button of viz.ui5.controls.popover?

I use the viz.ui5.controls.popover to show a tooltip for the charts. But I don't want the title part of the popover(include the "Current Selection" Text and close button).

How could I do to remove this part? Thanks!

capture.png (11.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 28, 2017 at 02:44 AM

    Please be aware that any application that claimed Fiori type must have applicationSet defined as fiori.

    The control on first screenshot that Shuhao posted is popover (sap.viz.ui5.controls.popover). This is aimed for Fiori application.

    The control on second screenshot is tooltip. If you wish to use it on your Fiori application, you could try vizTooltip (sap.viz.ui5.controls.vizTooltip).

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 26, 2017 at 11:51 AM

    Hi Shuhao Yu,

    This is the standard Fiori popover object, If you want to remove it.. just remove uiConfig="{applicationSet:'fiori'}" from VizFrame code

    For example :

    with uiConfig property

    <viz:VizFrame id="idVizFrame" height='100%' width="100%" vizType='column' uiConfig="{applicationSet:'fiori'}"> 

    without uiConfig property

    <viz:VizFrame id="idVizFrame" height='100%' width="100%" vizType='column'>

    Now screen would look like

    Regards,

    Vedaradhya.

    Add comment
    10|10000 characters needed characters exceeded