Skip to end of metadata
Go to start of metadata

Understanding ToolTip Element

To see the exact value of each data point, you can mouse over the data point and a ToolTip will be shown near the data point.

 

On this page:

XAML

You can control the position of the ToolTip using the following properties:

Understanding ToolTip Reposition Behavior

The ToolTip will be shown based on set properties mentioned above. However whenever the ToolTip is positioned outside PlotArea, it will be reposition so that it fit the plot area.

The following figure shows how the tooltip reposition behavior works.

Understanding ToolTip Behavior

In general all tooltips will be shown whenever you mouse over the data point. However, in order to give better user experience the tooltip behavior is enhanced in the following series.

To further improve the user experience you can also set the ToolTipStaysOpen property to True, and ToolTipAnimationEnabled property to True. By enabling these properties the ToolTip will stays open and will only be hidden if you leave the plot area. If you move to another data point, it will move the tooltip using smooth transition.

If needed, you can customize the ToolTipAnimation duration or key spline from the following properties.

Customizing ToolTip Template

You can customize the content of the ToolTip using ToolTipTemplate property. This property is available in UXChart and all series type. Specifying the ToolTipTemplate at UXChart means that all series will be using the same template. On the other hand specifying the ToolTipTemplate at series level means that only that specific series use that ToolTipTemplate.

To learn more how to customize tooltip template see How-to: Customize ToolTip Template.

Understanding Data Tracker Mechanism

Data Tracker is a feature specific for LineSeriesAreaSeriesStackedLineSeries and StackedAreaSeries family. This feature enables the user to compare all data point on certain independent value.

You will see that data points in each series are highlighted based on current mouse position. These data points are stored in DataPointItem property in each series and DataPointItems property in UXChart .

XAML

You can also enable data tracker when the DataPointVisibility property is set to Collapsed. In this scenario, each series will create data tracker element to help you identify which data point is currently tracked.

 

Learn More

To learn more about the concepts and more advanced features of the charting control, please refer to the following topics.