cancel
Showing results for 
Search instead for 
Did you mean: 

viz chart - data select event xml

Former Member
0 Kudos

Hello Team,

We have a scenario that to capture the data clicked points and navigate to another xml view.

WE are using XML views.

Would be great if some one can share some pointers.

i had a look at http://veui5infra.dhcp.wdf.sap.corp:8080/demokit/explored.html#/sample/sap.viz.sample.CustomPopover/...

and what i am after is a simple example.

thanks

Accepted Solutions (1)

Accepted Solutions (1)

saivellanki
Active Contributor
0 Kudos

Hi Balaji,


Will this Work? - Plunker - MultipleChartParams


Testing Steps -


1. Select whatever values you wanted from Stacked Column chart which is placed in first page.

2. Click on Navigate button placed below the chart.

3. It will navigate to second page displaying column chart, where you can see the selected values from first page.


Logic -


Logic is entirely handled using Global JSON model. I'm storing the first page selected values in a model and making use of same model in second page to plot the column chart with selected values.


Note - I didn't use Routing mechanism here, but I recommend you to use the same.


Regards,

Sai Vellanki.

Former Member
0 Kudos

Hi Sai,

sure. close though.

Testing Steps -


1. Select whatever values you wanted from Stacked Column chart which is placed in first page.

2. when the user clicks on the stacked column../ column area ..is it possible to navigate to the second page rather than having a separate button....


regards

saivellanki
Active Contributor
0 Kudos

Hi Balaji,

Plunk edited. Will this work? - Plunker - MultipleParams

Regards,

Sai Vellanki.

Former Member
0 Kudos

thanks sai.

great. that is what i was looking for.

regards

Former Member
0 Kudos

Hi ,

one thing noticed is ...when i click on the chart i data set is selected/navigates to second screen. When i click back the original selected option is still there...

is there any option to clear the selected values...deselect the chart...

regards

saivellanki
Active Contributor
0 Kudos

Hi Balaji,

You have to handle the logic in secondPage Back navigation button press.


Please check the sample here - Plunker - MultipleParamsv1


Regards,

Sai Vellanki.

Former Member
0 Kudos

much appreciated.

regards

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I just checked the code at this link : Plunker - MultipleParams, but no navigation happens on selectData event.

Regards,

Anjana.