ChartArea.Chart

Syntax

Chart: PP.Ui.BubbleChart;

Description

The Chart property determines chart of the current plot area of the bubble chart.

Comments

Use JSON or the setChart method to set the property value and the getChart method to get the property value.

Example

To execute this example, the HTML page must contain the BubbleChart component named bubbleChart (see Example of Creating the BubbleChart Component). Get bubble chart for the current bubble chart plot area and set a new value of transparency coefficient:

// Get bubble chart plot area
var chartArea = bubbleChart.getChartArea();
// Get bubble chart
var chart = chartArea.getChart();
// Set a new value of transparency coefficient for bubble chart
chart.setOpacity(0.5, true);

After executing the example transparency coefficient of bubble chart is changed:

See also:

ChartArea