# Tooltip(Default & Custom)

{% hint style="success" %}
*Check out the walk-through given below on how to Tooltip are configured in the Designer charting components.*
{% endhint %}

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FtQZuiNqAznpDWUnYGXDa%2FTooltip%20for%20charts.gif?alt=media&#x26;token=00540abb-8261-463e-9cb6-d49f16265307" alt=""><figcaption></figcaption></figure>

* The Tooltip property block is available under the component property section.

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FNb9q5HFa7YzmFaUUOoiO%2Fimage.png?alt=media&#x26;token=06aca098-a384-45b1-a595-f13fb854011d" alt=""><figcaption></figcaption></figure>

* Tooltip block contains ‘Show Tool Tip ’, ‘Background Color ’, ‘Opacity ’, ‘Border Color ’, ‘Box Width ’, ‘Precision ’ & ‘Highlighter ’.
  * Show Tool Tip: Configures tooltip as Default, Custom, or None.
  * Background Color: Configures tooltip background color.
  * Opacity: Configures tooltip background color opacity.
  * Border Color: Configures the border color of the tooltip.
  * Box Width: Configures the width of the tooltip box it contains a select box from where width can assign to the tooltip box.
  * Precision: Configures the tooltip display data precision.
  * Highlighter: By enabling this property through the checkbox tooltip highlighted field background color change.
* Show Tool Tip: By clicking this a model box opens which contains three radio buttons, its default selection is â€˜Default â€™
  * None: On selection of None, the tooltip doesn't be shown on the selected component.
  * Default: It's by default a selected tooltip, that displays the default configuration of the selected component.
  * Custom: On selection of Custom, tooltip content can be configured.

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2Fyy5KeS1zL6tdjF5wLRtr%2Fimage.png?alt=media&#x26;token=f5ec430d-4133-42b8-bdb8-df7c90267068" alt=""><figcaption></figcaption></figure>

* Custom Tool Tip: On selection of Custom, an editable text box opens.
* Editable text box contains property buttons on top, a select box that contains all the fields of the data set, and a save and cancel button.
* Editable text box contains selected fields of data set by default.

&#x20;     ![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FPf6tTwYwL4GsNczC5Q7s%2Fimage.png?alt=media\&token=92794a9f-e5b1-4e91-b16c-ad269ec680c3)​

* Custom Tooltip configuration

  * Additional fields can be selected from the select box.

  ​![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FRhjScybwUIFLujxkdNHK%2Fimage.png?alt=media\&token=1e365d97-74b2-41d1-b07e-de8b5da75c1f)​
* Display name then field name inside the bracket, field data replaces brackets.
* After selection of the content font properties like font color, font size, font family, etc can be changed from property buttons.

&#x20;     ![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FyEHs1ycnWHJ3eKW8NYCR%2Fimage.png?alt=media\&token=a104e87e-abd6-4efd-acf7-44b1b96f9d69)​

* **\<htmlTag>\</htmlTag>**: With the help of this tag, any HTML content can be passed directly into tooltip.
* Video and image can be displayed in the tooltip through this HTML tag.
* The field which contains video links that name would be written in the brackets after "scr=" for example src=\[Field Name]. For displaying a single video or image the only link to that particular video or image need to give under "src=" for example src="<https://www.bdbizviz.com/resources/images/BDB\\_logo.png>"
* Font Color property does not support Internet Explorer.
* For changing the field data font property, you need to select the entire bracket otherwise value won’t be displayed in the tooltip.  &#x20;

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FLnygxAlEuMauvXpW0vD4%2Fimage.png?alt=media&#x26;token=32cce3f4-0ca2-4a8e-86d9-150e38e64c0c" alt=""><figcaption></figcaption></figure>

## **Mobile Tooltip configuration**

* For Timeline, Bar, Heatmap & Pie mobile specific Tooltip is available.
* This Tooltip works only when the component is in maximized state.
* Default Tooltip can be enabled through this script-->

```javascript
// SSDK.getWidget( 'ComponentID').m_mobiletooltipstyle = "default";ome code
```

![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FZLCrxZM0aJADtGuuYMU2%2Fimage.png?alt=media\&token=d57d558d-1f18-4de3-8455-fc39cb9c0c81)
