Skip to main content
All docs
V24.2

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

DxRangeSelectorScaleMarker.IndentFromScaleLabel Property

Specifies the vertical indent between scale markers and scale labels.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue(10)]
[Parameter]
public int IndentFromScaleLabel { get; set; }

#Property Value

Type Default Description
Int32 10

The vertical indent in pixels.

#Remarks

Scale markers accompany the scale axis that displays DateTime values. A scale marker consists of a separator and label. Use the IndentFromScaleLabel property to change the indent between scale markers and scale labels.

Range Selector - Indent from Scale Labels

Razor
 <DxRangeSelector Width="1000px"
                  Height="400px"
                  SelectedRangeStartValue="@(new DateTime(2024, 2, 1))"
                  SelectedRangeEndValue="@(new DateTime(2024, 2, 14))">
     <DxRangeSelectorScale StartValue="@(new DateTime(2024, 1, 1))"
                           EndValue="@(new DateTime(2024, 6, 1))"
                           MinorTickInterval="ChartAxisInterval.Day"
                           TickInterval="ChartAxisInterval.Week"
                           MaxRange="ChartAxisInterval.Month"
                           MinRange="ChartAxisInterval.Week"
                           ValueType="ChartAxisDataType.DateTime">
         <DxRangeSelectorScaleMarker IndentFromScaleLabel="50">
             <DxRangeSelectorScaleMarkerLabel>
                 <DxTextFormatSettings Type="TextFormat.MonthAndYear" />
             </DxRangeSelectorScaleMarkerLabel>
         </DxRangeSelectorScaleMarker>
     </DxRangeSelectorScale>
     <DxRangeSelectorSliderMarker>
         <DxTextFormatSettings Type="TextFormat.MonthAndDay" />
     </DxRangeSelectorSliderMarker>
 </DxRangeSelector>

Refer to the DxRangeSelectorScaleMarker class description for more information.

See Also