Click here to Skip to main content
15,891,708 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i am new for angularjs and currently working on a angularjs-project, in which there is a Dashboard on which i am loading HighCharts with data on Specific date-range selection.


the thing i wants to implement is when that chart once loaded with data, and i navigate to another page and get back to the same dashboard page, it should be loaded with the same data as before i left that page.


is there any suggestion how to achieve this scenario using angular, is there any specific way to do this?

thanks in adv.

What I have tried:

as i think it can be done on-loading time of the page, but i don't have any idea how it will be implemented using angularjs.
Posted
Updated 3-Jun-18 20:30pm

1 solution

You can use LocalStorage to persist the data of highcharts, just store the configuration with data on the local storage and retrieve it again with specific id when you navigate back to the page.
 
Share this answer
 
Comments
FireMonkey92 4-Jun-18 4:29am    
can u provide any example related to it?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900