DxChartAxisStrip.StartValue Property
Specifies the strip’s start value.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public object StartValue { get; set; }
Property Value
Type | Description |
---|---|
Object | The start value. |
Remarks
Specify StartValue
and EndValue properties to define the strip range. Use both properties to highlight an area between two values. Define only one property to highlight the area above or below a certain value.
<DxChart Data="@DataSource">
<DxChartTitle Text="Temperature (high) in September, °F" />
<DxChartLegend Visible="false" />
<DxChartSplineSeries ArgumentField="@((TemperatureData s) => s.Date)"
ValueField="@((TemperatureData s) => s.Temperature)"
Color="@SeriesColor">
<DxChartSeriesLabel FormatPattern="{value:#}°F" />
</DxChartSplineSeries>
<DxChartValueAxis>
<DxChartAxisStrip StartValue="@HighAverage"
Color="rgba(255, 155, 85, 0.15)">
<DxChartAxisStripLabel Text="Above average high">
<DxChartFont Color="@HighAverageColor" Weight="500" Size="14" />
</DxChartAxisStripLabel>
</DxChartAxisStrip>
</DxChartValueAxis>
</DxChart>
@code {
// ...
double HighAverage = 60.8;
string HighAverageColor = "#ff9b52";
}
See Also