Skip to main content

dxPolarChart

Namespace: Wisej.Web.Ext.DevExtreme

Assembly: Wisej.Web.Ext.DevExtreme (4.1.0.0)

The PolarChart is a widget that visualizes data in a polar coordinate system.

public class dxPolarChart : dxBase

Constructors​

Instance member dxPolarChart()​

Constructs a new instance of the dxPolarChart class.

Example:

The following example creates a polar chart that plots the wind speed for each direction.

var chart = new dxPolarChart();
chart.Options.dataSource = new[]
{
new { direction = "N", speed = 12 },
new { direction = "E", speed = 7 },
new { direction = "S", speed = 4 },
new { direction = "W", speed = 9 }
};
chart.Options.series = new { argumentField = "direction", valueField = "speed", type = "bar" };
chart.Dock = DockStyle.Fill;
this.Controls.Add(chart);

Instance member dxPolarChart(options)​

Constructs a new instance of the dxPolarChart class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates a spider web chart that compares two series.

var chart = new dxPolarChart(new
{
dataSource = skills,
useSpiderWeb = true,
commonSeriesSettings = new { argumentField = "skill", type = "line" },
series = new[]
{
new { valueField = "anna", name = "Anna" },
new { valueField = "marco", name = "Marco" }
}
});
chart.Dock = DockStyle.Fill;
this.Controls.Add(chart);

Implements​