开发者

c#: handling mouse events with ms chart

开发者 https://www.devze.com 2023-01-22 23:44 出处:网络
i am displaying a line graph on an ms chart using VS2008 c开发者_运维百科# professional what i am trying to do is when the user clicks on a datapoint, it will display the entire ROW in the database f

i am displaying a line graph on an ms chart using VS2008 c开发者_运维百科# professional

what i am trying to do is when the user clicks on a datapoint, it will display the entire ROW in the database for that point.

how can i

  1. handle the click event
  2. display the row for that particular point?


Here's a working example:

http://pastebin.com/SDxyX1pN

this is just an example, of course if you need to access the DB you need an access logic and so on... but the idea is basically the same.

0

精彩评论

暂无评论...
验证码 换一张
取 消