EaxBubbleChartView.Source

Syntax

Source: PP.Exp.EaxDocument

Description

The Source property determines a data source for express report bubble chart.

Comments

Use JSON or the setSource method to set the property value, and the getSource method to get the property value.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component) and have a loaded bubble chart in express report working area. Get identifier of this bubble chart:

// Get a list of panels of express report bubble chart wizard
var panels = expressBox.getPropertyBarView().getBubbleChartMaster().getItems();
for (var i in panels) {    
    var panel = panels[i];    
    if (panel.getTypeName() == "BubbleChartColorIndicator") {
        // Get express report bubble chart view
        var bubbleChartView = panel.getDataView();
        console.log("Identifier of express report bubble chart:");
        console.log(bubbleChartView.getSource().getBubbleChartId().id);
    }
}

After executing the example the browser console displays identifier of the express report bubble chart:

Identifier of express report bubble chart:
GKOCHLPPEHACEOAEOEOFDNBJAMCPCLKEBLPAHNJCKMCAKIDN!M!S!ECAOLJHFDFHACEOAEKBIMOIGJMGNICHGEPJBJDBCAHOJMBIMN!bubbleChart

See also:

EaxBubbleChartView