Need help in displaying graphs in new window

25 views
Skip to first unread message

Jay Kumar

unread,
May 15, 2019, 7:41:05 AM5/15/19
to Angular and AngularJS discussion
I m trying to displaying few graphs in angular using chartjs and it is rendered fine on clicking a submit button. But issue is i want to render charts on a new window on clicking submit button. i know we can use window.open("",_blank), but how to get graph data attributes to new window in angular?

Small example simulating my requirement is as below. Thanks in advance for your help.


Jay Kumar

unread,
May 20, 2019, 3:33:06 AM5/20/19
to Angular and AngularJS discussion
Hi,

Some one provide any idea on this for data binding on new window.

Best regards,
Jay

--
You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
To view this discussion on the web visit https://groups.google.com/d/msgid/angular/3bded95e-3ffd-486f-a3bc-478c0d750836%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sander Elias

unread,
May 20, 2019, 12:20:01 PM5/20/19
to Angular and AngularJS discussion
Hi Jay,

Use the router and put in an id, so you can request the data from your server. 
Then you can just open that part of your app in a new window.

Regards
Sander
Reply all
Reply to author
Forward
0 new messages