Skip to main content

BubbleSeriesLabel.IndentFromMarker Property

Gets or sets the indent value (in pixels) between a marker’s edge and its label for a Bubble series view.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
[XtraSerializableProperty]
public double IndentFromMarker { get; set; }

Property Value

Type Description
Double

An integer value which specifies the indent between a marker’s edge and its label (in pixels).

Remarks

The IndentFromMarker property becomes available when the PointSeriesLabel.Position property is set to PointLabelPosition.Outside.

In most aspects, this property is similar to the SeriesLabelBase.LineLength property. However, to meet the specific requirements of the Bubble series view type, it determines the indent between a label and the marker’s edge, while the SeriesLabelBase.LineLength property takes into account the distance between a label and the marker’s center. Note that the SeriesLabelBase.LineLength property is overridden to hide the corresponding property of the BubbleSeriesLabel class. Normally, you don’t need to use this property.

Note

Negative values are allowed for the IndentFromMarker property, meaning that the label is to be placed inside a marker’s edge.

The following images demonstrate how the IndentFromMarker property works.

BubbleSeriesLabel.Position = BubbleLabelPosition.Center

BubbleSeriesLabel.Position = BubbleLabelPosition.Outside

IndentFromMarker = 5

IndentFromMarker_0

IndentFromMarker_5

See Also