DxChartSeriesValueErrorBar.HighValueField Property
Specifies the data source field that contains high error values.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public string HighValueField { get; set; }
Property Value
Type | Description |
---|---|
String | The field name. |
Remarks
If the chart’s data source contains high and low values for series points, assign corresponding fields to HighValueField
and LowValueField properties to obtain error bar values.
Note
HighValueField
and LowValueField property values apply when the Type property is unspecified or set to None
.
<DxChart Data="@DataSource">
@* ... *@
<DxChartPane Name="TopPane" />
<DxChartLineSeries Pane="TopPane"
Name="@LineSeriesName"
ArgumentField="@((AverageTemperatureData i) => i.Month)"
ValueField="@((AverageTemperatureData i) => i.AverageTemperature)">
<DxChartSeriesValueErrorBar LowValueField="@nameof(AverageTemperatureData.AverageLowTemperature)"
HighValueField="@nameof(AverageTemperatureData.AverageHighTemperature)"
LineWidth="1"
Opacity="0.8" />
</DxChartLineSeries>
<DxChartValueAxis Pane="TopPane">
<DxChartAxisTitle Text="Temperature, °C" />
</DxChartValueAxis>
@* ... *@
</DxChart>
@code {
IEnumerable<AverageTemperatureData> DataSource = Enumerable.Empty<AverageTemperatureData>();
string LineSeriesName = "Average Temperature, °C";
protected override void OnInitialized() {
DataSource = ChartAverageTemperatureDataProvider.GenerateData();
}
// ...
}
See Also