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
[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();
}
}
See Also