Class PolarRadarSeriesBase
Represents a base class for polar, radar series in chart.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public abstract class PolarRadarSeriesBase : AdornmentSeries, ICloneable, ISupportAxes2D, ISupportAxes
Constructors
PolarRadarSeriesBase()
Initializes a new instance of the PolarRadarSeriesBase class.
Declaration
public PolarRadarSeriesBase()
Fields
DrawTypeProperty
Identifies the DrawType
dependency property.
Declaration
public static readonly DependencyProperty DrawTypeProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for |
IsClosedProperty
Identifies the IsClosed dependency property.
Declaration
public static readonly DependencyProperty IsClosedProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for IsClosed dependency property. |
StrokeDashArrayProperty
Identifies the StrokeDashArray dependency property.
Declaration
public static readonly DependencyProperty StrokeDashArrayProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for StrokeDashArray dependency property. |
XAxisProperty
Identifies the XAxis dependency property.
Declaration
public static readonly DependencyProperty XAxisProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for XAxis dependency property. |
YAxisProperty
Identifies the YAxis dependency property.
Declaration
public static readonly DependencyProperty YAxisProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for YAxis dependency property. |
YBindingPathProperty
Identifies the YBindingPath dependency property.
Declaration
public static readonly DependencyProperty YBindingPathProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for YBindingPath dependency property. |
Properties
DrawType
Gets or sets the type of series to be drawn for Radar or Polar series.
Declaration
public ChartSeriesDrawType DrawType { get; set; }
Property Value
Type | Description |
---|---|
ChartSeriesDrawType | One of the ChartSeriesDrawType enumeration values. The default value is Area. |
IsClosed
Gets or sets a value that indicates whether area path should be closed or opened for Polar/Radar series.
Declaration
public bool IsClosed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | If its |
Segment
Gets or sets the chart segment.
Declaration
protected ChartSegment Segment { get; set; }
Property Value
Type | Description |
---|---|
ChartSegment | It takes the chart segment value. |
StrokeDashArray
Gets or sets the stroke dash array for line to customize the appearance of PolarSeries and RadarSeries.
Declaration
public DoubleCollection StrokeDashArray { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.DoubleCollection | It takes System.Windows.Media.DoubleCollection value and default value is null. |
Examples
<chart:SfChart>
<chart:SfChart.PrimaryAxis>
<chart:NumericalAxis/>
</chart:SfChart.PrimaryAxis>
<chart:SfChart.SecondaryAxis>
<chart:NumericalAxis/>
</chart:SfChart.SecondaryAxis>
<chart:PolarSeries
StrokeDashArray="5,3"
ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"/>
</chart:SfChart>
XAxis
Gets or sets the multiple axis is not applicable for Radar/Polar series.
Declaration
public ChartAxisBase2D XAxis { get; set; }
Property Value
Type | Description |
---|---|
ChartAxisBase2D | It takes the ChartAxisBase2D value. |
XRange
Gets the series x-axis start and end range values.
Declaration
public DoubleRange XRange { get; }
Property Value
Type | Description |
---|---|
DoubleRange | A |
YAxis
Gets or sets the multiple axis is not applicable for Radar/Polar series.
Declaration
public RangeAxisBase YAxis { get; set; }
Property Value
Type | Description |
---|---|
RangeAxisBase | It takes the RangeAxisBase value. |
YBindingPath
Gets or sets the property name that associates the secondary axis with a property in the itemssource.
Declaration
public string YBindingPath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that represents the property name for secondary axis. The default value is null. |
Examples
<chart:SfChart>
<chart:SfChart.PrimaryAxis>
<chart:NumericalAxis/>
</chart:SfChart.PrimaryAxis>
<chart:SfChart.SecondaryAxis>
<chart:NumericalAxis/>
</chart:SfChart.SecondaryAxis>
<chart:PolarSeries
ItemsSource="{Binding Data}"
XBindingPath="XValue"
YBindingPath="YValue"/>
</chart:SfChart>
YRange
Gets the series y-axis start and end range values.
Declaration
public DoubleRange YRange { get; }
Property Value
Type | Description |
---|---|
DoubleRange | A |
YValues
Gets or sets YValues to render the series.
Declaration
protected IList<double> YValues { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.Double> | It takes the collection of double values. |
Methods
CloneSeries(DependencyObject)
Declaration
protected override DependencyObject CloneSeries(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj |
Returns
Type |
---|
System.Windows.DependencyObject |
Overrides
FindNearestChartPoint(Point, out Double, out Double, out Double)
Finds the nearest point in ChartSeries relative to the mouse point/touch position.
Declaration
public override void FindNearestChartPoint(Point point, out double x, out double y, out double stackedYValue)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Point | point | The co-ordinate point representing the current mouse point /touch position. |
System.Double | x | x-value of the nearest point. |
System.Double | y | y-value of the nearest point. |
System.Double | stackedYValue | The stacked y value. |
Overrides
GeneratePoints()
Method used to generate the data points for Polar and Radar series.
Declaration
protected override void GeneratePoints()
Overrides
OnBindingPathChanged(DependencyPropertyChangedEventArgs)
Invoked when XBindingPath or YBindingPath properties changed.
Declaration
protected override void OnBindingPathChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data |
Overrides
OnDataSourceChanged(IEnumerable, IEnumerable)
Invoked when ItemsSource property changed.
Declaration
protected override void OnDataSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | oldValue | Old itemssource collection. |
System.Collections.IEnumerable | newValue | New itemssource collection. |
Overrides
See Also
OnXAxisChanged(ChartAxis, ChartAxis)
Invoked when XAxis property changed.
Declaration
protected virtual void OnXAxisChanged(ChartAxis oldAxis, ChartAxis newAxis)
Parameters
OnYAxisChanged(ChartAxis, ChartAxis)
Invoked when YAxis property changed.
Declaration
protected virtual void OnYAxisChanged(ChartAxis oldAxis, ChartAxis newAxis)
Parameters
Explicit Interface Implementations
ISupportAxes.ActualXAxis
Gets ActualXAxis property.
Declaration
ChartAxis ISupportAxes.ActualXAxis { get; }
Returns
Type | Description |
---|---|
ChartAxis | It takes the |
ISupportAxes.ActualYAxis
Gets ActualYAxis property.
Declaration
ChartAxis ISupportAxes.ActualYAxis { get; }
Returns
Type | Description |
---|---|
ChartAxis | It takes the |