Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

VizFrame charts - Store additional data

Hi experts,

We are using viz charts through the VizFrame controls. It is possible to create a dataset (dimension and measures) and put feeds into the chart controls.

Current state:

E.g. for bubble charts we can provide the feeds for regionShape, regionColor, bubbleHeight, bubbleWidth, secondaryValues and primaryValues.

After clicking a bubble, the "selectData" event of the VizFrame delivers these feed values as expected.


What we really need is to link the selected bubble in the "selectData" event to the respective line in the model or at least in the dataset. E.g. we should be able to store and receive an id or row index as feed value which enables us to connect the bubble with a concrete row in the data model.

Also, this "technical id" should not be shown in the bubble chart.


I found an example connecting to the actual chart elements path... but the example was for NAKED Viz charts. The VizFrame event does not seem to contain the information "ctx.path".

Here the example I found and which does not work with VizFrame

              selectData : function(e) {

                // event data as provided by the VIZ library

                var aSelectData = e.getParameter("data");

                // the FlattenedDataset used by this chart

                var oDataset = this.getDataset();

                for(var i=0; i<aSelectData.length; i++) {

                  var oDataPoint = aSelectData[i];

                  for(var j=0; j<; j++) {

                    var oPath =[j].ctx.path;

                    var oContext = oDataset.findContext(oPath);





I hope somone had seen this problem before and can help me out with this issue.



Former Member
Not what you were looking for? View more on this topic or Ask a question