Microsoft Chart COntrols中的事件处理 [英] Event Handling in Microsoft Chart COntrols

查看:73
本文介绍了Microsoft Chart COntrols中的事件处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,

我正在使用Microsoft图表控件来创建图形.我正在使用折线图来创建趋势图...我正在使用 IsValueShownAsLabel 属性自动将Point值显示为图形上的小块.要求是我点击该标签的那一刻,它应该带我进入x轴&的另一页. Y轴值是否可以执行此操作?

HI ,

I am using Microsoft Chart Controls to Create Graphs.. I am using Line charts to create Trend Graphs... I am Using IsValueShownAsLabel property to automatically display Point value as a Small block on the graph.. My Requirement is the moment i click on the lable it should take me to adifferent page along with x axis & Y axis value..is there any way to do this?

推荐答案

事件处理程序的<big>e</big>参数应包含所需的值.

至于单击标签,我认为您实际上必须单击数据点-而不是标签.如果您可以弄清楚标签的名称,然后向该对象添加单击处理程序,则可能会得到所需的内容(单击标签).
The event handler''s <big>e</big> parameter should contain the values you want.

As far as clicking on the label, I think you actually have to click on the datapoint - not the label. If you can figure out the name of the label and then add a click handler to that object, you might be able to get what you want (clicking on the label).


这篇关于Microsoft Chart COntrols中的事件处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆