Data Visualization Widgets PolarChart

A chart widget displaying data in a polar coordinate system.

The dxPolarChart widget is used to display polar charts in web applications. These charts are displayed in a polar coordinate system. In this system, each point on a plane is determined by a distance from a fixed point (the point's value) and an angle from a fixed direction (the point's argument). To understand how a chart is displayed in a polar coordinate system, imagine how it would be displayed in a rectangular coordinate system and then round off the argument axis in your imagination.

DevExtreme HTML5 Charts DataVisualization DevExtreme HTML5 Charts PolarChart RadarChart DataVisualization

You can create a widget using one of the following approaches.

  • jQuery
    Use the dxPolarChart jQuery plug-in.

    HTML
    <div id="chartContainer"></div>
    JavaScript
    $("#chartContainer").dxPolarChart({
        dataSource: dataSource,
        series: [
            {valueField: "day", name: "Day" }, 
            { valueField: "night", name: "Night" }
        ],
        commonSeriesSettings: {     
            argumentField: "month",
            type: "scatter"
        }
    });
  • Knockout
    Add a div element and apply the dxPolarChart binding to this element.

    HTML
    <div data-bind="dxPolarChart: {
        dataSource: dataSource,
        series: [
            {valueField: 'day', name: 'Day' }, 
            { valueField: 'night', name: 'Night' }
        ],
        commonSeriesSettings: {     
            argumentField: 'month',
            type: 'scatter'
        }
    }"></div>
  • Angular
    Add a div element and apply the dx-polar-chart directive to this element.

    HTML
    <div dx-polar-chart="{
        dataSource: dataSource,
        series: [
            {valueField: 'day', name: 'Day' }, 
            { valueField: 'night', name: 'Night' }
        ],
        commonSeriesSettings: {     
            argumentField: 'month',
            type: 'scatter'
        }
    }"></div>

Note that DevExtreme widgets require you to link the jQuery and Globalize libraries to your application. If you use the Knockout or Angular approach, the Knockout or Angular library is also required.

See Also

The dxPolarChart widget contains multiple visual elements (axes, titles, labels, strips, grid, etc.). To learn more about the widget's visual elements, refer to the PolarChart Elements help article. To learn how to provide data for the dxPolarChart widget, refer to the Data Binding article.

Choose one of the following supported series types.

You can read an overview of these series types in the PolarChart Series Types article.

View Demo Watch Video

See Also

To learn about the widget's concepts and overview features, refer to the Charts section within the Data Visualization Guides.

Configuration

An object defining configuration options for the dxPolarChart widget.

Methods

This section describes the methods that can be used in code to manipulate the dxPolarChart object.

Use the dxPolarChart registered method to access the dxPolarChart object as demonstrated in the code below.

JavaScript
var chart = $("#chartContainer").dxPolarChart("instance");

Events

This section describes events exposed by this widget.

Series Types

This section lists objects that define options used to configure series of specific types.

Chart Elements

This section lists the methods and fields of chart elements.