wpf-devexpress-dot-xpf-dot-charts-dot-tooltipposition.md
Gets or sets the tooltip offset on a diagram.
Namespace : DevExpress.Xpf.Charts
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public Point Offset { get; set; }
Public Property Offset As Point
| Type | Description |
|---|---|
| Point |
A Point structure that is the tooltip offset.
|
Use the Offset property to specify the tooltip label offset for either the ToolTipMousePosition, ToolTipRelativePosition or ToolTipFreePosition object.
The following images demonstrate how the Offset property works when using the ToolTipRelativePosition object.
| Offset = (10, 10) | Offset = (20,-20) |
|---|---|
Note that the Offset property affects a tooltip label’s position when the ChartToolTipController.ShowBeak property is disabled. Use the ChartControl.ToolTipController property to access the chart tooltip controller’s settings.
See Also