on 07-01-2016 7:38 AM
Hello,
I'm programming an analytical Fiori App with SAPUI5 which includes different charts and visualization for the data. I have already implemented a few VizFrame controls and everything is fine with them, but now I get the following issue:
- if I navigate to this page from another page before I can see the VizFrame control but the data labels are missing completly (see screenshot)
- the page I navigate to has an own routing pattern. For that, if I reload the page the data labels are here (see screenshot)
I don't change the properties of the VizFrame control between these two actions. I implemented this page as a standalone XML view which can be called directly via routing in the manifest.json or by clicking a button on the page before. The relevant codes are:
manifest.json
and the routing call when clicking on the button (btw it's a circle on a map) of the previous page:
So both times just the XML view is loaded. But when it is loaded from the onCircleClick function the data labes are missing and when it is called directly from the generated hash the data labels are available.
Has anyone an idea how to resolve this issue?
Thanks, Marietta
Its' hard to find the root cause if the same XML view looks difference due to the different launching routes.
Data label visualization is impacted by the size availability (if chart property on XML view was not modified at runtime) but size of both charts are idential.
Any chance for your to replication this issue on http://jsbin.com ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Chapman Wong for your reply.
I get a jsbin with small data from my application.. although the routing isn't working correctly by now
by clicking on the button the chart is displayed but the hash didn't change: http://output.jsbin.com/wulalatolu/2
and here the version with the direct hash: http://output.jsbin.com/wulalatolu/2#region
Hello Chapman,
yes I was able to get a simple working example on HCP Coud. Here is the link: https://testdatalabel-p1941927698trial.dispatcher.hanatrial.ondemand.com/
This example behaves a litte different than my original one. The first time you click on a circle on the map the values are displayed, but if you then go back and get another circle the value labels are missing. Same on the direct hash.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.