cancel
Showing results for 
Search instead for 
Did you mean: 

Smart chart - binding of oData to smart chart

sankar_narayana
Active Participant
0 Kudos
1,000

Hi Team,

I would like to know how to bind my oData to a smart chart. Helpful answer is appreciated

Accepted Solutions (0)

Answers (3)

Answers (3)

sankar_narayana
Active Participant

Hi Konstantia,

Even i was aware of all these links. Iam facing difficulty in binding my oData to the smart chart.

From the below link, In place of Mock server, how do I use my own ECC gateway server and bind my oData instead of JSON file is what i was not knowing. In the init method, they have used mock server and especially line no: 20 where in i will have my oData instead of JSON file.

https://sapui5.hana.ondemand.com/#/sample/sap.ui.comp.sample.smartchart.general/code/SmartChart.cont...

Traditional way of binding oData is what iam aware of it.

former_member235383
Active Participant

Hello Sankar Narayana,

Regarding this please refer to the Demo Kit.

You can find information for OData V2 Model binding in the following link: https://sapui5.hana.ondemand.com/#/topic/6c47b2b39db9404582994070ec3d57a2.html#loioc4be40ce21ff4d048...

For OData V4 model find binding information:

https://sapui5.hana.ondemand.com/#/topic/54e0ddf695af4a6c978472cecb01c64d

More in concrete for SmartChart control you can find examples in the following link: https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartchart.SmartChart

Check the API to ensure the proper use of the control:

https://sapui5.hana.ondemand.com/#/api/sap.ui.comp.smartchart.SmartChart

You may also want to check the Walkthrough Tutorial for Data Binding to get started.

Best regards,

Konstantia

former_member375795
Participant
0 Kudos

Any one use Smartchart , please let me know the steps .

Please help out from the same .