Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ToolTipPosition.Offset Property

Gets or sets the tooltip offset on a diagram.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public Point Offset { get; set; }

#Property Value

Type Description
Point

A Point structure that is the tooltip offset.

#Remarks

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)
ToolTipFreePosition - Offset (10, 10) ToolTipFreePosition - 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