Back to Devexpress

DxChartAxisStrip.EndValue Property

blazor-devexpress-dot-blazor-dot-dxchartaxisstrip-78399c51.md

latest1.9 KB
Original Source

DxChartAxisStrip.EndValue Property

Specifies the strip’s end value.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[Parameter]
public object EndValue { get; set; }

Property Value

TypeDescription
Object

The end 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.

razor
<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 EndValue="LowAverage"
                          Color="rgba(97, 153, 230, 0.1)">
            <DxChartAxisStripLabel Text="Below average low">
                <DxChartFont Color="@LowAverageColor" Weight="500" Size="14" />
            </DxChartAxisStripLabel>
        </DxChartAxisStrip>
    </DxChartValueAxis>
</DxChart>

@code {
    // ...
    double LowAverage = 53;
    string LowAverageColor = "#6199e6";
}

See Also

DxChartAxisStrip Class

DxChartAxisStrip Members

DevExpress.Blazor Namespace