ChartControl.ToolTipOptions Property
Gets the tooltip settings allowing you to specify its position and appearance on a diagram.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v14.2.dll
#Declaration
[XtraSerializableProperty(XtraSerializationVisibility.Content, true)]
public ToolTipOptions ToolTipOptions { get; set; }
#Property Value
Type | Description |
---|---|
Tool |
A Tool |
#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 Tooltips topic.