Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 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

DxChartArgumentAxis.CustomPositionAxisName Property

Specifies the name of the value axis that the argument axis intersects on the CustomPosition value.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[Parameter]
public string CustomPositionAxisName { get; set; }

#Property Value

Type Description
String

The axis name.

#Remarks

Use the CustomPositionAxisName in combination with the CustomPosition property to shift the argument axis in multi-axis charts.

In the following code snippet, the argument axis intersects the “Temperature” value axis at the value of 45:

<DxChart Data="@forecasts">
    <DxChartLineSeries ArgumentField="@((WeatherForecast i) => i.Date)"
                       ValueField="@((WeatherForecast i) => i.TemperatureC)"
                       Name="Temperature, C" />
    <DxChartLineSeries ArgumentField="@((WeatherForecast i) => i.Date)"
                       ValueField="@((WeatherForecast i) => i.TemperatureF)"
                       Name="Temperature, F" />
    <DxChartLineSeries ArgumentField="@((WeatherForecast i) => i.Date)"
                       ValueField="@((WeatherForecast i) => i.Precipitation)"
                       Name="Precipitation"
                       Axis="Precipitation" />
    <DxChartArgumentAxis CustomPosition="45" CustomPositionAxisName="Temperature" />
    <DxChartValueAxis Name="Temperature">
        <DxChartAxisTitle Text="Temperature" />
    </DxChartValueAxis>
    <DxChartValueAxis Name="Precipitation" Alignment="ChartAxisAlignment.Far">
        <DxChartAxisTitle Text="Precipitation" />
    </DxChartValueAxis>
</DxChart>

Argument axis custom position

See Also