cancel
Showing results for 
Search instead for 
Did you mean: 

Chart Binding with EntitySet by applying filters

Jayakrishnan
Active Participant
0 Kudos

Hi Everyone,

I am working on Custom SAPUI5 application development. In my application, I used to display the data in Stacked-Column Chart. The DataSet(EntitySet) for the Chart will be loaded from the Two-Dropdown Fields. Example, I need to choose UserGroup and TechnicalLocation, based on this I need to get the EntitySet.

The issue i am facing here is, on OData Model Operation mode. By Default, it takes as

"defaultOperationMode": "Server".

But when load the UserGroup and TechnicalLocations from OData, I don't want to call server every time. so I changed into

"defaultOperationMode": "Client".

It works fine. At the first time, it loaded all the data, when I open the second time it loads the value from the model, so it never delays.

Then i am passing these two selected values as a filter parameters to my chart entityset to get the Dataset.

The Actual Problems Starts after this only, after selecting this when i click the button to display the chart, it shows no data. when i change the "defaultOperationMode": "Server", then it displays the chart.

For Chart I used vizframe. I used all the data binding and feedValueAxis and etc in the controller file.

Can i load the chart by setting the OData operation mode as Client?

Thank you,

Regards,

JK.

Accepted Solutions (0)

Answers (0)