Jump to content
Software FX Community

WEB Form MOUSE EVENTS


User (Legacy)

Recommended Posts

I have been trying to capture mouse events and have not had any success yet. 

I have set up my chart using the HTMLTag as .NET and have been able to

accomplish everything that I need except for processing mouse events. What I

am trying to do is to capture the X point that he is clicking on and to use

that value at the server to remove the data before the X point value and

rebuild the chart.

Any help or suggestions would be great

Ron Geger

Link to comment
Share on other sites

Ron,

I have no answers for you but am in the same boat. I figure if I post the

same question, maybe we will get a faster response.

Thanks,

Chris

"Ron Geiger" <rgeiger@autocontrotlech.com> wrote in message

news:mQsVkm3aFHA.4092@webserver3.softwarefx.com...

>I have been trying to capture mouse events and have not had any success

>yet. I have set up my chart using the HTMLTag as .NET and have been able to

>accomplish everything that I need except for processing mouse events. What

>I am trying to do is to capture the X point that he is clicking on and to

>use that value at the server to remove the data before the X point value

>and rebuild the chart.

>

>

> Any help or suggestions would be great

>

> Ron Geger

>

Link to comment
Share on other sites

You can capture the Click event Server side and you will handle it through a 

postback just like the Click event in a button. You can link the event

handler at design time just like you do with a button.

You will receive a MouseEventArgsX that tells you about the point/series

that was clicked. The event will be fired only if you click on a point.

Using the .NET client component, you can also capture Mouse Events client

side, for information about capturing Client-Side events please refer to:

Q7121019. Accessing Chart Events from the Client-Side when generating .NET

Client Controls

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...