Microsoft WPF应用程序-在“图形"区域上拖动鼠标 [英] Microsoft WPF application - Mouse drag on Graph area

查看:61
本文介绍了Microsoft WPF应用程序-在“图形"区域上拖动鼠标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

在我的wpf应用中,我们通过.Net命名空间使用图形( System.Windows.Controls.DataVisualization.Charting)并将其显示在画布上.

In my wpf applciation where we used graph through .Net namespace (System.Windows.Controls.DataVisualization.Charting) and displaying it on Canvas.

根据客户的需求,我们必须处理图形,他可以在图形区域上拖动鼠标(选择某个时间段,如图像中所示).我要使用选择的开始时间/结束时间在另一个窗口中以获取其他数据.

As per customer need we have to work on graph where he can drag mouse on graph area (select some time section like in image). I want to use that selected start time/ end time  in a separate window to fetch another data.

作为参考,请在下面的URL中引用,但这是针对Web的.

for reference please refer below url but it is for web.

http://people.iola.dk/olau /flot/examples/selection.html



推荐答案

您需要这样做-----> http://social.msdn.microsoft.com/Forums/vstudio/zh-CN/home?forum=wpf
You need to go that a way -----> http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpf


这篇关于Microsoft WPF应用程序-在“图形"区域上拖动鼠标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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