DxRangeSelectorScaleTick Class
Contains appearance settings for major scale ticks.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public class DxRangeSelectorScaleTick :
DxSettingsComponent<RangeSelectorScaleTickModel>
Remarks
Add a DxRangeSelectorScaleTick
object to the DxRangeSelectorScale component markup to customize the appearance of major scale ticks in DxRangeSelector.
The Range Selector calculates tick intervals automatically based on data source values. You can use the DxRangeSelectorScale.TickInterval property to set a custom interval for major scale ticks.
Labels accompany major ticks. To configure label settings, add a DxRangeSelectorScaleLabel object to the DxRangeSelectorScale component markup.
The DxRangeSelectorScaleTick
component allows you to customize the color, opacity, and width of major scale ticks.
Example
The following code snippet changes the appearance of major scale ticks in the <DxRangeSelector>
component:
<DxRangeSelector Width="100%"
ValueChanged="@OnValueChanged"
ValueChangeMode="RangeSelectorValueChangeMode.OnHandleMove">
<DxTitleSettings Text="Filter Order List by Total Cost" />
<DxRangeSelectorScale StartValue="@minTotal"
EndValue="@maxTotal"
TickInterval="1000">
<DxRangeSelectorScaleTick Color="#ffc107" Opacity="0.9" />
</DxRangeSelectorScale>
<DxRangeSelectorSliderMarker>
<DxTextFormatSettings LdmlString=",##0" />
</DxRangeSelectorSliderMarker>
</DxRangeSelector>