Version

Item Tooltip Layer

Purpose

This topic provides information about the item tooltip layer which is used for hover interactions in the Category Series. It describes the properties of the item tooltip layer and also provides an example of its implementation.

Required background

The following topics are prerequisites to understanding this topic:

Topic Purpose

The UltraDataChart control requires a data object model to be mapped to control’s DataContext property. This article will provide a simple data object model but you can create your own and use it with this sample code instead.

This topic explains various types of Category Series in the UltraDataChart control.

In this topic

This topic contains the following sections:

Overview

Item tooltip layer overview

The ItemToolTipLayer displays tooltips for all the series on the UltraDataChart control individually when a pointer that particular series.

The tooltip style is inherited from the chart.

<<Properties,Properties>>

Preview

The following image is a preview of the UltraDataChart control renders with the ItemToolTipLayer added.

Properties

Item tooltip layer summary

The following table summarizes the properties of the ItemToolTipLayer layer.

Property Name Property Type Description

Series

This property specifies which series should have an enabled item tooltip layer.

It is possible to create a separate item tooltip layer for each series and configure them individually.

bool

This property specifies if the tooltip’s x position should be interpolated rather than snapping to the gridlines or the center spaces.

Example

Example

The following screenshot demonstrates how the UltraDataChart control with the TargetSeries property of the ItemToolTipLayer object looks as a result of the following setting:

Property Value

series1

Following is the code used in this implementation

In C#:

var itemToolTipLayerSeries = new ItemToolTipLayer();
itemToolTipLayerSeries.TargetSeries = series1;
chart.Series.Add(itemToolTipLayerSeries);

Related Content

Topic Purpose

This topic provides information about the crosshair layer used for hover interactions. It describes the properties of the crosshair layer and provides an implementation example.

This topic provides information about the category highlight layer which is used for hover interactions. It describes the properties of the category highlight layer and provides an example of its implementation.

This topic provides information about the category item highlight layer used for hover interactions. It describes the properties of the category item highlight layer and provides an example of its implementation.

This topic provides information about the category tooltip layer used for hover interactions. It describes the properties of the category tooltip layer and provides an example of its implementation.