DxPolarChartArgumentAxis.Period Property
Notifies the Polar Chart if data contains a repeating pattern and the frequency of its occurrence.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public int Period { get; set; }
Property Value
Type | Description |
---|---|
Int32 | The period value. |
Remarks
A function is called periodic if it repeats its values at regular intervals or periods. You can use the Period
property to notify the Polar Chart component that series data is periodic and specify the pattern frequency. The component can automatically extrapolate series behavior based on specified data points and the Period
property value.
In the following example, the pattern repeats every 360
degrees:
<DxPolarChart T="DataItem" Data=@data>
<DxChartLegend Visible="false" />
<DxPolarChartArgumentAxis Period="360"
Inverted="true"
StartAngle="90"
TickInterval="45" />
<DxPolarChartLineSeries ArgumentField="@((DataItem i) => i.Arg)"
ValueField="@((DataItem i) => i.Val)"
Closed="false" />
</DxPolarChart>
@code {
List<DataItem> data = new List<DataItem> {
new DataItem(0, 0),
new DataItem(720, 2)
};
class DataItem {
public DataItem(double arg, double val) {
Arg = arg;
Val = val;
}
public double Arg { get; set; }
public double Val { get; set; }
}
}
See Also