on 05-12-2017 2:44 PM
Hi Experts,
I am using SAPUI5 Smart Chart control and I have some issues with the annotations generated by Gateway Builder. I added all necessary annotations mentioned in the Smart Chart documentation and it looks like this (vocabulary based odata project):
As you can see the property "ChartType" was generated as "Column". I have chosen that value in the corresponding DDLB in SEGW. Nevertheless, the chart is not working because it expects "com.sap.vocabularies.UI.v1.ChartType/Column" instead of just "Column". When I add this term using code in the MPC_EXT class using "com.sap.vocabularies.UI.v1.ChartType/Column" the Smart Chart works fine. Does anybody know why it doesn't work with Standard code?
Regards
Tobias
I am having the same problem.
when generating with segw annotations , it doesn't work.
but if I write it manually with MPC_EXT it works fine..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Tobias,
I am sorry to resurrect the last year's tread, but there is really not too many resources that speak about SmartChart control.
I am using SEGW created OData endpoint to fetch the collection records. To use the charting functionality I have changed metadata in WebIDE by adding dimensions/measures to the necessary attributes and added an annotation. Now when I display the view with the chart, I see that GET_ENTITYSET gets executed but the view stays empty.
I assumed that the problem is with my "Target" property and tried various combinations: Namespace.EntityContainerName.EntityName, Namespace.EntityName, etc. - but with not avail.
Can you share your steps on how you made it work? And also, would you mind sharing view/controller files here?
And a final one - do you think metadata modification directly in IDE is permitted for the Chart to work?
Appreciate your help,
Ilja.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.