DxChartAxis<T>.MinVisualRangeLength Property
Specifies the minimum length of the visual range.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public ChartAxisInterval MinVisualRangeLength { get; set; }
Property Value
Type | Description |
---|---|
ChartAxisInterval | A ChartAxisInterval value that specifies the range length. |
Remarks
Use the MinVisualRangeLenth
property to specify the minimum visual range for an axis.
<DxChart Data="@dataSource">
<DxChartLineSeries Name="Total Sales" ArgumentField="@((SaleInfo s) => s.Date)"
ValueField="@((SaleInfo s) => s.Amount)">
<DxChartAggregationSettings Enabled="true"
Method="ChartAggregationMethod.Sum" />
</DxChartLineSeries>
<DxChartArgumentAxis MinorTickInterval="ChartAxisInterval.Day"
MinVisualRangeLength="ChartAxisInterval.Days(10)">
<DxChartAxisRange Length="ChartAxisInterval.Days(20)"
EndValue="new DateTime(2020, 01, 29)" />
</DxChartArgumentAxis>
<DxChartZoomAndPanSettings ArgumentAxisZoomAndPanMode="ChartAxisZoomAndPanMode.Pan" />
<DxChartScrollBarSettings ArgumentAxisScrollBarVisible="true"
ArgumentAxisScrollBarPosition="ChartScrollBarPosition.Bottom" />
</DxChart>
See Also