Hi,
I have a list of names, and when one is clicked the name is stored to a local storage variable and the app navigates to another screen.
This screen is populated by a chart, which uses JS in service success event to populate a chart.
The problem is that the chart is always populated with the previous Local Storage Variable rather than the one just clicked.
How can I make sure that the chart loads after the service uses the new local storage variable, rather than the previous one?
thanks