Skip to main content
All docs
V24.2

DxRangeSelectorChartValueAxis.MinValue Property

Specifies the minimum value of the axis’s visual range.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public double MinValue { get; set; }

Property Value

Type Description
Double

The minimum value.

Remarks

The Range Selector component allows you to define the DxRangeSelectorChartValueAxis‘s visual range. To set a range, specify MinValue and MaxValue properties.

@using System.Linq.Expressions
<DxRangeSelector Width="100%"
                 Data="@Data"
                 ValueChangeMode="RangeSelectorValueChangeMode.OnHandleMove">
    <DxRangeSelectorChart>
        @CreateChartAreaSeries(s => s.Y1)
        @CreateChartAreaSeries(s => s.Y2)
        @CreateChartAreaSeries(s => s.Y3)
        <DxRangeSelectorChartValueAxis MinValue="-10"
                                       MaxValue="50" />
    </DxRangeSelectorChart>
    <DxRangeSelectorScale TickInterval="50" />
</DxRangeSelector>

@code {
    IEnumerable<RangePoint> Data = Enumerable.Empty<RangePoint>();
    protected override void OnInitialized() {
        Data = GenerateData();
    }

    private RenderFragment CreateChartAreaSeries(Expression<Func<RangePoint, double>> valueField) =>
        @<DxChartAreaSeries ArgumentField="@(s => s.Arg)"
                                ValueField="@(valueField)">
        </DxChartAreaSeries>
    ;
}
See Also