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.