The tooltip designer offers the ability to enhance the presentation by supplementing it with context-driven information.
Set a Tooltip
The tooltip designer can be accessed from both Illustrate and Present. When building tooltips in Present, both the asset and its tooltip belong to the current report. Only if you make them shareable and save them to the context management system can they be added to other presentations.
From Present, open the tooltip designer via the context menu of the relevant shape or image by clicking Set Tooltip (red highlight below).
The Tooltip Designer
- Use the tooltip designer to create your tooltip. You can set the font type, size, emphasis, color, and highlights (green highlight above).
- You can also set the tooltip background color and border color, text alignment, tooltip size, and padding (orange highlight).
- Enter the tooltip text in the text editor; on the right you'll see a preview of your tooltip, including text and formatting (yellow arrow).
- You can disable the tooltip, without deleting it, so that you can enable it as needed (red arrow).
- To make your tooltip dynamic, you can apply dynamic text, dynamic placeholders, and dynamic text fields (blue highlight).
PQL Functions Library
When adding Dynamic Text or Place Holders to the tooltip, the PQL functions library will be exposed via the Dynamic Function Editor. To add a PQL function from the library to the script editor, simply double click on it. You will then need to inject values into the function.
Pyramid's OpenAI integration enables you to use AI to generate scripts and images, dynamic text and infographics, calculations and lists, schedules, colors, and more. This allows you to generate a range of content, including complex code, by simply providing a text prompt.
Use the ChatGPT AI-driven PQL function (from the Common PQL functions) to generate dynamic text in your custom tooltip. While this function cannot tell you about your data set, it can add additional information and background to your presentation.
Warning: AI-generated assets are generated from public domain algorithms, which can produce both erroneous and inconsistent/ random results. Use at your own risk.
Selecting this option will open the dynamic text editor, where you can create your dynamic text formula. Dynamic text formulas are created by selected a grid from which you want to derive values. Combining the relevant grid elements (this may be a cell, or a column, for instance) with the required dynamic function (found in the function tree), you can set the formula that will drive the text; the text will be rendered at runtime accordingly.
Here, 2 dynamic text functions were configured to show the total sales and total net profit, based on the selected grid:
This option will open the Dynamic Place Holder editor where you can create formula using the function trees. Unlike dynamic text, place holders are slicer-driven; instead of creating a formula based on an underlying grid, simply add an interaction from a slicer to the tooltip. The slicer selection will feed the placeholder value at runtime.
Here, 2 place holders were added, along with dynamic text. This way, the 2 place holder values will be rendered at runtime, based on the slicer selections.
If interactions are added to the data discovery that was used to build the dynamic text, then the value will also reflect the slicer selections.
You can test the place holder by entering a string in the Test Input field (blue highlight below). Click the Validate button; if successful, you'll see the given text in a green bar. If unsuccessful, an error message will appear in a red bar.
- Click here to learn more about dynamic place holders.
Add dynamic text fields from the drop-down menu. Selecting a text field will add the relevant tag to the tooltip; this is then rendered at runtime to reflect the dynamic value. For example, selecting the ‘Current Date’ text field will add the tag ‘#Today’ to the tooltip. When the presentation is launched in runtime, the tag will be rendered to display today’s date.
- Click here to learn more about dynamic text fields.