Vue polar chart visualizes data in terms of values and angles. It provides options for visual comparison between several quantitative or qualitative aspects of a situation. It supports interactive features such as selection and tooltip.
Reverses the axis labels and ticks. This swaps the higher and lower ranges of an axis.
Customize the start angle of the chart to rotate it.
Marks data points with built-in shapes such as circles, rectangles, ellipses, vertical lines, horizontal lines, diamonds, triangles, and pentagons. In addition to these shapes, use images to make the point more attractive.
Shows the information about the data point with data label. Add a template to display data labels with any HTML element such as images, DIV, and spans to make data more informative
Supports different types of series like line, column, spline, range area, scatter, and stacked area.
You can compose the wind rose chart with the help of stacked column series in polar and radar charts.
<template>
<div id="app">
<ejs-chart id="container" :primaryXAxis='primaryXAxis'>
<e-series-collection>
<e-series :dataSource='seriesData' type='Polar' xName='x' yName='y' drawType='Line'> </e-series>
</e-series-collection>
</ejs-chart>
</div>
</template>
<script>
import { ChartPlugin, PolarSeries, Category, LineSeries } from "@syncfusion/ej2-charts";
Vue.use(ChartPlugin);
export default {
data() {
return {
seriesData: [
// {x: 'China', y: 9635, y1: 10535, y2: 11226, y3: 11218},
{ x: 'JPN', text: 'Japan', y: 5156, y1: 4849, y2: 4382, y3: 4939 },
{ x: 'DEU', text: 'Germany', y: 3754, y1: 3885, y2: 3365, y3: 3467 },
{ x: 'FRA', text: 'France', y: 2809, y1: 2844, y2: 2420, y3: 2463 },
{ x: 'GBR', text: 'UK', y: 2721, y1: 3002, y2: 2863, y3: 2629 },
{ x: 'BRA', text: 'Brazil', y: 2472, y1: 2456, y2: 1801, y3: 1799 },
{ x: 'RUS', text: 'Russia', y: 2231, y1: 2064, y2: 1366, y3: 1281 },
{ x: 'ITA', text: 'Italy', y: 2131, y1: 2155, y2: 1826, y3: 1851 },
{ x: 'IND', text: 'India', y: 1857, y1: 2034, y2: 2088, y3: 2256 },
{ x: 'CAN', text: 'Canada', y: 1843, y1: 1793, y2: 1553, y3: 1529 }
],
primaryXAxis: {
valueType: 'Category'
},
};
},
provide: {
chart: [PolarSeries,Category,LineSeries]
}
};
</script>
<!DOCTYPE html>
<html>
<body style>
<div id="app"></div>
</body>
</html>