Use the wijmo.radar.FlexRadar control to create radar and polar charts. This topic includes features unique to the FlexRadar control. FlexRadar shares most of the same API and featureset with FlexChart.
The FlexRadar control has some basic properties that allow you to customize its layout and appearance:
The chartType for FlexRadar is a subset of the core chart types. If the bindingX is bound to string values the result will be a radar chart. If the bindingX is bound to a numeric field it will render a polar chart. The chart types include:
Radar Example:
import * as chart from '@grapecity/wijmo.chart';
var myRadarChart = new chart.FlexRadar('#myRadarChart', {
itemsSource: getData(),
bindingX: 'country',
chartType: 'Line',
startAngle: 0,
totalAngle: 360,
series: [
{ name: 'Sales', binding: 'sales' },
{ name: 'Downloads', binding: 'downloads' }
]
});
Polar Example:
import * as chart from '@grapecity/wijmo.chart';
var myPolarChart = new chart.FlexRadar('#myPolarChart', {
itemsSource: getData(),
bindingX: 'longitude',
chartType: 'Area',
startAngle: 0,
totalAngle: 360,
series: [
{ name: 'Latitude 1', binding: 'latitude1' },
{ name: 'Latitude 2', binding: 'latitude2' }
]
});