Adding an SVG Click Action to a Portlet
To add an SVG click action to a portlet:
-
Open the Edit <Chart or Indicator> Portlet
dialog box.
Remind me how.
- Browse to the page that contains the portlet that you want to edit.
-
On the DivePort toolbar, click Edit to unlock the page and enable edit mode.
- Right-click the portlet that you want to edit, and then on the context menu, click Edit.
-
The Click Actions
dialog box opens. -
Click Add.
The Edit Click Action
dialog box opens. -
In the Type box, select SVG.
-
In the Scope box, select the area in the portlet that you want the user to click to trigger the click action.
-
In the Label box, enter the label that you want to appear in the click action menu.
-
Optionally, specify a name for the svg file.
-
Click OK to close the Edit Click Action dialog box.
The new click action is added to in the Click Actions
list. -
If this is the only click action on the list, and you want the svg file to download immediately when the click action is triggered, select Skip the menu when there is only one action.
-
Click OK to close the Click Actions dialog box.
-
Click OK to close the Edit Portlet dialog box.
-
On the toolbar, click Save to exit edit mode and lock the page.
When the page is locked, the SVG icon
and label appear in the click action context menu or below the portlet, depending on the scope.
See also: