ChartPolarXAxis Constructor

Syntax

PP.Ui.ChartPolarXAxis(settings);

Parameters

settings. JSON object that contains values of component properties.

Description

The ChartPolarXAxis constructor creates an instance of the ChartPolarXAxis class.

Example

Executing the example requires that the HTML page contains the Chart component named chart (see Example of Creating the Chart Component). Set X and Y polar axes for the chart:

// Create X axis in polar coordinate system
var xAxis = new PP.Ui.ChartPolarXAxis({
    Parent: chart,
    Categories: ["2001", "2002", "2003", "2004", "2005"],
    Labels: {
        Enabled: true
    }
});
// Create Y axis in polar coordinate system
var yAxis = new PP.Ui.ChartPolarYAxis({
    Parent: chart,
    Min: -110,
    Max: 110,
    Labels: {
        Enabled: true
    }
});
// Add axes to the chart
chart.setXAxis(xAxis);
chart.setYAxis(yAxis);

After this chart axes is calculated in polar coordinate system.

See also:

ChartPolarXAxis