Hi!
I am using XamWebChart control in my Silverlight 3 application. I want to have a click event on the legend. Can you please suggest how to achieve this. Please provide sample code.
Thanks and regards,
Usha.
Since the chart's legend is a Control, it has all the events of a control, including mouse events. You can handle MouseLeftButtonUp event same way you would for any control.
<igChart:XamWebChart.Legend> <igChart:Legend Width="150" MouseLeftButtonUp="Legend_MouseLeftButtonUp"/></igChart:XamWebChart.Legend>
Hi! Max,
Thanks for the answer.