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

[Solved] Chart Column Series Select Event

2 Answers 158 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
John DeVight
Top achievements
Rank 1
John DeVight asked on 01 Aug 2012, 09:00 PM
I am using the RadControls for Metro HTML Q1 2012 BETA.  I have defined a Telerik.UI.RadChart control on my HTML page control.  In the javascript code, I have defined a Telerik.UI.Chart.ColumnSeries and added data to it.  I have also defined the categies.  The chart renders as expected.

Now I want to be able to allow the user to select a column and when they do, I want to display some additional information pertaining to the column that was selected.  Is there a way to do that?

Regards,

John DeVight

2 Answers, 1 is accepted

Sort by
0
Accepted
Lini
Telerik team
answered on 02 Aug 2012, 11:10 AM
Hi John,

You can use the seriesclick RadChart event to capture the click on the columns and then use the category or dataItem properties of the event argument to get the value for the column that was clicked. For a real use sample of this event, review the First Look example of RadChart in the demos app.

Regards,
Lini
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
John DeVight
Top achievements
Rank 1
answered on 02 Aug 2012, 12:04 PM
Hi Lini,

Thank you!  It works great.  And thank you for the link to the documentation.  I hadn't realized that there was preliminary documentation available.  This will make things so much easier!

Regards,

John DeVight

P.S. - sorry for posting in the XAML forum instead of the HTML forum.  I need to ready more carefully :-)
Tags
Chart for XAML
Asked by
John DeVight
Top achievements
Rank 1
Answers by
Lini
Telerik team
John DeVight
Top achievements
Rank 1
Share this question
or