Gets or sets the offset specifying a label’s position on a scale.
NuGet Package: DevExpress.Wpf.Gauges
A Double value that specifies the label’s offset.
Use the Offset property, if you need to customize the position of the label with respect to other elements of a scale. Note that the Offset property behavior is different for Circular scale labels and Linear scale labels.
For the Circular scale, a positive value of the Offset property moves a label out of the scale, while a negative value moves a label inside the scale towards to the center. A zero value of the Offset property means the label is positioned on the edge of the Circular scale.
The following image illustrates the property behavior.
In the case of the Linear scale, increasing the Offset property’s value moves a label to the right, while decreasing Offset moves it to the left.
The image below shows this behavior.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Offset property.
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.