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

DxChartAxisBase<T>.DivisionFactor Property

Specifies the minimum distance between two neighboring major ticks.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[Parameter]
public int DivisionFactor { get; set; }

#Property Value

Type Description
Int32

The minimum distance in pixels.

#Remarks

For axes that display numbers (Continuous and Logarithmic types), the distance between major ticks depends on two properties: DivisionFactor and TickInterval. The Chart ignores the TickInterval property if the tick interval is less than the DivisionFactor value.

Use the DivisionFactor property only if you need to set the distance between ticks when you do not know axis values. Otherwise, use the TickInterval property.

The DivisionFactor property has different default values for the argument and value axes:

Axis Default Value
Argument 70
Value 40

The following code snippet specifies the DivisionFactor property:

Razor
<DxChart Data="@forecasts">
    <DxChartLineSeries ArgumentField="@((WeatherForecast i) => i.Date)"
                       ValueField="@((WeatherForecast i) => i.TemperatureC)"
                       Name="Temperature, C" />
    <DxChartLineSeries ArgumentField="@((WeatherForecast i) => i.Date)"
                       ValueField="@((WeatherForecast i) => i.TemperatureF)"
                       Name="Temperature, F" />
    <DxChartValueAxis DivisionFactor="15" />
</DxChart>

Division Factor is 15 Pixels

See Also