Skip to main content

ChartRangeSeriesPoint Class

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public abstract class ChartRangeSeriesPoint :
    ChartSeriesPoint

The following members return ChartRangeSeriesPoint objects:

Remarks

A range series point takes two values (the Start and End values) per argument.

You can use a ChartRangeSeriesPoint object to customize text for chart tooltips:

<DxChart Data="@WeatherForecasts">
    <DxChartLegend Position="RelativePosition.Outside" HorizontalAlignment="HorizontalAlignment.Center" />
    <DxChartRangeAreaSeries ValueField="@((WeatherForecast i) => i.TemperatureF)"
                            ArgumentField="@(i => i.Date.Date)"
                            Name="Temperature, F"/>
    <DxChartTooltip>
        @context.GetRangePoint().Render((rangePoint) =>
        @<div class="p-3">
            <p>Max: @rangePoint.EndValue</p>
            <p>Min: @rangePoint.StartValue</p>
        </div>
        )
    </DxChartTooltip>
</DxChart>

Inheritance

See Also