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.
- C#
- VB.NET
public class dxPolarChart : dxBase
Public Class dxPolarChart
Inherits dxBase
Constructors
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);
dxPolarChart(options)
Constructs a new instance of the dxPolarChart class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial 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);