# Show Tooltip

## Content



Sparkline lets you add a tooltip to provide some extra information in a pop-up box. The pop-up box appears every time you hover over the Sparkline. It can be used to display useful information about the data points used for plotting the sparkline.

![Tooltip in Sparkline control.](https://cdn.mescius.io/document-site-files/images/9decca57-66c3-4dca-a1cc-04fdd3fb16b4/images/tooltip.png)

To add a tooltip to the sparkline, add the following code.

**xml**

```xml
<c1:C1Sparkline.ToolTip>
    <ToolTip>
        Sparkline Type: Line
    </ToolTip>
</c1:C1Sparkline.ToolTip>
```

**csharp**

```csharp
sparkline.ToolTip = "Sparkline Type: Line";
```