Skip to main content
All docs
V24.1

DxPolarChartArgumentAxis Class

Defines a Polar Chart’s argument axis.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public class DxPolarChartArgumentAxis :
    DxChartAxisBase<PolarChartArgumentAxisModel>,
    IModelProvider<ChartAxisLabelBaseModel>

Remarks

You can use properties of the DxChartAxisBase<T> and DxPolarChartArgumentAxis objects to configure argument axis settings and appearance.

The following code snippet customizes the argument axis:

 <DxPolarChart Data=@DataSource>
     <DxChartLegend Visible="false" />
     <DxPolarChartArgumentAxis Inverted="true"
                               StartAngle="90" 
                               TickInterval="30" 
                               OriginValue="30" />
     <DxPolarChartLineSeries ArgumentField="@((DataPoint i) => i.X)"
                             ValueField="@((DataPoint i) => i.Y)"/>
 </DxPolarChart>

 @code {
    IEnumerable<DataPoint> DataSource = Enumerable.Empty<DataPoint>();

    protected override void OnInitialized () {
        DataSource = ChartContinuousDataProvider.GenerateData();
    }
}

Origin value shifted

Nested Axis Components

You can add the following child components to an argument axis:

DxPolarChartAxisLabel
Defines settings for axis labels.
DxChartAxisTick
Stores the appearance settings of major axis ticks.
DxChartAxisMinorTick
Stores the appearance settings of minor axis ticks.
DxChartConstantLine
Specifies an axis constant line.

The following example demonstrates components of the argument axis:

Argument Axis Nested Elements

@using System.Drawing

<DxPolarChart T="DataItem" Data=@data>
    <DxPolarChartArgumentAxis Period="720"
                              Inverted="true"
                              StartAngle="90"
                              TickInterval="45">
        <DxChartConstantLine Value="15" />
        <DxPolarChartAxisLabel IndentFromAxis="15" />
        <DxChartAxisTick Color="Color.Purple" />
        <DxChartAxisMinorTick Visible="true" />
    </DxPolarChartArgumentAxis>
    @* ... *@
</DxPolarChart>

Inheritance

Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.Internal.PolarChartArgumentAxisModel>
DxComplexSettingsComponent<DxChartAxisBase<DevExpress.Blazor.Internal.PolarChartArgumentAxisModel>, DevExpress.Blazor.Internal.PolarChartArgumentAxisModel>
DxChartAxisBase<DevExpress.Blazor.Internal.PolarChartArgumentAxisModel>
DxPolarChartArgumentAxis
See Also