ComponentOne FlexChart for WinForms
Shared Tooltip
FlexChart > Working with FlexChart > End-User Interaction > ToolTips > Shared Tooltip

A shared tooltip is a single tooltip that highlights all data values for a single X value in the chart.

In a chart containing mixed chart types, you often require displaying multiple Y values for a common X value through a single tooltip. In such cases, FlexChart tooltips can be used as shared tooltips by setting the Content property accordingly.

The following image displays a shared tooltip showing Y values for all series at a single X value.

The code  compares and displays data of number of daily website visitors, unique visitors, and link clicks in a specific week. The code shows how to set the Content property to create a shared tooltip.

'configure the Content property
FlexChart1.ToolTip.Content = "Index: {pointIndex}" &
    vbLf & "Day: {name}" &
    vbLf & "Visitors: {Visitors}" &
    vbLf & "Unique Visitors: {Unique Visitors}" &
    vbLf & "Link Click: {Link Click}"
//configure the Content property
flexChart1.ToolTip.Content = "Index: {pointIndex}\nDay: {name}\nVisitors: {Visitors}\nUnique Visitors: {Unique Visitors}\nLink Click: {Link Click}";