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

Interactive drawing

1 Answer 42 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Manh-Hung
Top achievements
Rank 1
Manh-Hung asked on 12 May 2009, 08:06 AM
Hello,

I would like to know if the RadControls Chart allows ClickEvent on the chart to pick the coordinates of plot area. My wish is to draw simple lines with two points got with Click Event, the drawn line superposes on the graph generated by Chart control.

I see that the RadChart has Attributes features allowing to add Javascript but it is for the whole region and not for a precised point in the plot area. So, this feature is not applicable in my case.

RadChart1.Series[0].Items[i].ActiveRegion.Attributes = "onmouseover=\"this.parentNode.parentNode.style.cursor = 'default';\" onmouseout=\"this.parentNode.parentNode.style.cursor = '';\" onclick=\"return false;\""

Any ideas are welcome. Thanks and best regards


Mhlai
         

1 Answer, 1 is accepted

Sort by
0
Dessy
Telerik team
answered on 13 May 2009, 08:03 AM
Hello Manh-Hung,

I am afraid that this functionality is not supported byRadChart. At present we support Click event only for the chart series items in the plot area, but not for any point in it.
Please accept our apologies for the inconvenience caused.

Kind regards,
Dessy
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Chart (Obsolete)
Asked by
Manh-Hung
Top achievements
Rank 1
Answers by
Dessy
Telerik team
Share this question
or