Showing results for 
Search instead for 
Did you mean: 

How to get all actual selections of a VizChart ?

Former Member
0 Kudos

Hello together,

is it possible to get all actual selections of e.g. a Pie-Chart ?

For example the user marked 2 of 5 slices and selects now the 3. one.

In the event "selectData" I have only the information about the actual selection, the 3. one.

But I need all 3 slices.

How can I get them all together ?



Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hey Viktor,

there is the selection() method of viz BaseCharts (SAPUI5 SDK - Demo Kit). But unfortunately the VizFrame is extending BaseControl so this is not available. If this is pivotal for you you could switch to sap.viz.ui.Column as your used chart control f.e.

Active Contributor
0 Kudos

Hi Viktor,

I don't think there is any method available to catch hold of all previous selected portion values. But alternatively, you can use a JSON model where you can store old select data and append/push new select data to the same.

Please check the sample here - Column Chart Values Select


Sai Vellanki