Closed shivushedad closed 7 months ago
Hi @shivushedad, so far you do it right, you can just overwrite the property in the backend and then the frontend uses this updated value. Can you share a little sample app with your problem? Then we can take a look to it and see how to fix it. Best regards.
Thank you for your reply!
I copied Z2UI5_CL_DEMO_APP_016 from the abap2UI5-samples repo and tried to add labelwidth
and displayedBars
after line 65 and I get a syntax error indicating Formal parameter "DISPLAYEDBARS" does not exist.
. Parameter labelwidth
gets added with no syntax errors.
added now the property with https://github.com/abap2UI5/abap2UI5/pull/1061 check out the demo 16 again.
If you are familiar with GitHub and PRs, feel free to extend the XML View Class with the properties you need and sent a PR.
@oblomov-dev thank you for the PR. I am now able to see the displayedBars
property available.
Closing the issue.
We are trying to build an interactive bar chart using abap2UI5 and cannot seem to override / set the value of displayedBars value to higher than the default value of 3.
Per the documentation linked above we were supposed to have the
displayedBars
property available to be passed when creating bar chart object. Am I missing anything?