Articles in this section

How to set the tooltip duration in a UWP Chart?

This article demonstrates how to control the duration a tooltip remains visible in a UWP SfChart. By default, tooltips automatically hide after a brief moment. You can customize this behavior by setting the ShowDuration attached property to specify how long the tooltip should be displayed.

Step 1: Ensure ShowTooltip is set to True on the series.

Step 2To delay the tooltip, set the ShowDuration property on the chart series definition in your XAML. The value for this property should be provided in milliseconds. In this example, the tooltip will remain visible for 5000 milliseconds (5 seconds).

<chart:ColumnSeries XBindingPath="Name" 
                    YBindingPath="Count1" 
                    ShowTooltip="True" 
                    chart:ChartTooltip.ShowDuration="5000"
                    ItemsSource="{Binding Data}" />

Output

In this example, the tooltip will remain visible for 5000 milliseconds (5 seconds).

Conclusion

I hope you enjoyed learning how to delay the tooltip display time in the UWP Chart.

You can refer to our UWP Chart’s feature tour page to know about its other groundbreaking feature representations. You can also explore our UWP Chart documentation to understand how to present and manipulate data.

For current customers, you can check out our WinForms components from the License and Downloads page. If you are new to Syncfusion®, you can try our 30-day free trial to check out our UWP Charts and other UWP components.

If you have any queries or require clarifications, please let us know in comments below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied