Suppress a Popup
Usage
To force a popup not to show when the feature is clicked on, return a null value of "-" for the popup content.
If you want to suppress the popup but show a tooltip, you can return the tooltip delimiter "%%%" and the tooltip text.
NOTE:This is evaluated on a per-row basis, so you can show popups on certain features but not on others.
Template
/* This template defines your popups.
You can also define tooltips that appear when the mouse is hovered over a point.
In order to enable tooltips, add a '%%%' delimiter to the expression. Everything after '%%%' will be displayed in the tooltip.
NOTE: Popups can accept HTML formatting, but tooltips cannot.
NOTE: In order to suppress a popup or tooltip for a point, the expression should return a null value or a '-'
NOTE: In order to include a carriage return in a tooltip, you must use ' '
NOTE: Tooltips are not supported in the Desktop client or on touch\mobile devices.
EXAMPLE 1: Popup only
= '<b>[Dimension]</b> = ' & [Dimension] & '<br>' &
'<b>[x]</b> = ' & num(sum([x]), '$#,###.')
EXAMPLE 2: Popup with a tooltip
= '<b>[Dimension]</b> = ' & [Dimension] & '<br>' &
'<b>[x]</b> = ' & num(sum([x]), '$#,###.') &
'%%%' &
'[Dimension] = ' & [Dimension] & ' ' &
'[x] = ' & num(sum([x]), '$#,###.')
EXAMPLE 3: Tooltip only
= '%%%' &
'[Dimension] = ' & [Dimension] & ' ' &
'[x] = ' & num(sum([x]), '$#,###.')
EXAMPLE 4: Suppress popup and tooltip
= ''
*/