BubbleChartData: Object
The BubbleChartData property contains data of the Bubble Chart express report.
Use JSON or the setBubbleChartData method to set the property value, and the getBubbleChartData method to get the property value.
The property gets and returns the value as a JSON object that has the following fields: id - bubble chart identifier, meta - metadata of the express report bubble chart.
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 working area of the express report. Get the current font family of this bubble chart legend:
var eaxAnalyzer = expressBox.getSource(); // Get express report bubble chart data var bubbleChartData = eaxAnalyzer.getBubbleChartData(); // Get bubble chart settings var options = JSON.parse(bubbleChartData.meta.options); for (var i = 0; i < options.length; i++) { var option = options[i]; if(option.Name == "chartmaster.legendpanel.fontfamily") { console.log(option.Name + ": " + option.Value); } };
After executing the example the browser console displays name of the current font family of the express report bubble chart:
chartmaster.legendpanel.fontfamily: Calibri
See also: