This topic explains, with code examples, how to add a tooltip in UltraSparkline™ control.
The following table lists the topics required as a prerequisite to understanding this topic.
This topic contains the following sections:
The tooltip is added by setting the ToolTipVisibility property. If this property is set to visible, the tooltip displays the following default values:
The first data point value.
The last data point value.
The highest data point value.
The lowest data point value.
By default (if no customization settings have been applied) the tooltip displays as the four values listed above, first, last, highest and lowest data points.
The following table maps the Sparkline Tooltip to property settings.
The screenshot in the Overview text block demonstrates how the Sparkline Tooltip looks as a result of the following settings:
In C#:
this.UltraSparkline1.ToolTipVisibility = Infragistics.Portable.Components.UI.Visibility.Visible;
In Visual Basic:
Me.UltraSparkline1.ToolTipVisibility = Infragistics.Portable.Components.UI.Visibility.Visible
The following topics provide additional information related to this topic.