Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 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

    ChartFinancialReductionLevel Enum

    Lists values that specify which prices of a stock should be compared.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    #Declaration

    C#
    public enum ChartFinancialReductionLevel

    #Members

    Name Description
    Close

    Close values (prices).

    High

    High values (prices).

    Low

    Low values (prices).

    Open

    Open values (prices).

    #Related API Members

    The following properties accept/return ChartFinancialReductionLevel values:

    #Remarks

    Use the Level property to specify which values (prices) of a stock are compared.

    The following example uses a radio group to switch between reduction levels:

    Razor
    <div>
        <label>Reduction Level:</label>
        <DxRadioGroup Items="@(Enum.GetValues(typeof(ChartFinancialReductionLevel)).Cast<ChartFinancialReductionLevel>())"
                      @bind-Value="@ReductionLevel" />
    </div>
    <DxChart @ref="@chart"
             Data="@stockData"
             Width="100%">
        <DxChartLegend Position="RelativePosition.Outside" />
        <DxChartCandlestickSeries OpenField="(StockDataPoint sdp)=>sdp.Open"
                                  HighField="sdp=>sdp.High"
                                  LowField="sdp=>sdp.Low"
                                  CloseField="sdp=>sdp.Close"
                                  ArgumentField="@(sdp => new DateTime(
                                                          sdp.DateTimeStamp.Year,
                                                          sdp.DateTimeStamp.Month,
                                                          sdp.DateTimeStamp.Day,
                                                          sdp.DateTimeStamp.Hour,
                                                          sdp.DateTimeStamp.Minute,
                                                          0) )"
                                  Name="Eco Supreme">
            <DxChartFinancialReduction Level=@ReductionLevel
                                       Color="lightgrey" />
        </DxChartCandlestickSeries>
        @* ... *@
    </DxChart>
    
    @code {
        IEnumerable<StockDataPoint> stockData;
    
        protected override async Task OnInitializedAsync() {
            stockData = await FinancialSeriesDataProvider.Generate();
        }
    
        ChartFinancialReductionLevel ReductionLevel { get; set; } = ChartFinancialReductionLevel.Close;
    }
    

    DxChartFinancialReduction - Level values

    See Also