on 12-08-2015 5:45 AM
Hi experts,
In one of my sapui5 application i used HarveyBallMicroChart, here my requirement is need to change the fraction of HarveyBallMicroChartItem dynamically when i am trying to change it is not allowing. I used the following code
window.view.getView().byId("hbmcId").getItems().setFraction();
It is showing the error setFraction is not a function(…). could any one help me to fix this issue or is there any other way to change the fraction value of HarveyBallMicroChartItem dynamically
Thanks in advance and Regards
Bhanu
Without seeing all you code it's difficult to comment, however it looks like the getItems method returns an Array of HarveyBallMicroChartItem[], therefore you are trying to call the setFraction on the array rather than the individual items. You will need to iterate through the items.
Many thanks,
Jason
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
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.