ChartControl.ToolTipOptions Property
Gets or sets the tooltip settings allowing you to specify its position and appearance on a diagram.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.1.dll
NuGet Package: DevExpress.Wpf.Charts
Declaration
Property Value
Type | Description |
---|---|
ToolTipOptions | The options of the tooltip appearance and behavior. |
Remarks
Before the tooltip customization, make sure the ChartControl.ToolTipEnabled property is set to true.
Use the ToolTipOptions property to get access to the tooltip settings allowing you to specify the tooltip position on a chart (ToolTipOptions.ToolTipPosition, ToolTipOptions.ActualToolTipPosition), as well as define at which level a tooltip should be shown: at the level of series points and a particular series (ToolTipOptions.ShowForPoints, ToolTipOptions.ShowForSeries).
In addition, you can use properties of the ChartToolTipController object to customize the tooltip appearance on a chart (e.g., ChartToolTipController.ShowBeak, ChartToolTipController.ShowShadow) and define the tooltip behavior (e.g, ChartToolTipController.CloseOnClick, ChartToolTipController.OpenMode, ChartToolTipController.InitialDelay).
For more information on how to use a tooltip in your application, see the Tooltip topic.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ToolTipOptions property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.