This is a migrated thread and some comments may be shown as answers.

HTMLCHART on click display Grid with details

1 Answer 57 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Giridharan
Top achievements
Rank 1
Giridharan asked on 01 Jul 2016, 03:44 PM

I have a Barchart on my page. When the user clicks on one of the bars, I want to display the details in a popup window in a telerik grid. I am not sure how to achieve this. Any suggestions?

 

regards

Giridharan

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 04 Jul 2016, 09:19 AM

Hi Giridharan,

You can use the client-side events of the chart to call the popup: http://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/client-side-programming/events/overview. OnSeriesClick is perhaps the one you will be using.

As for a popup—you can pass a querystring variable to a RadWindow: http://docs.telerik.com/devtools/aspnet-ajax/controls/window/how-to/use-querystring-to-provide-arguments-to-radwindow.

Regards,

Marin Bratanov
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Chart (HTML5)
Asked by
Giridharan
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or