Skip to main content
All docs
V24.2

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

DxPolarChartArgumentAxis.OriginValue Property

Specifies the origin value used as zero on the argument axis.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[Parameter]
public int OriginValue { get; set; }

#Property Value

Type Description
Int32

The origin value.

#Remarks

The origin is the initial value that starts the argument axis scale. The Polar Chart calculates the origin value automatically based on the lowest series argument. You can use the OriginValue property to adjust the axis scale origin.

The following code snippet sets OriginValue to 30:

 <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

See Also