MS.Yang Posted March 9, 2011 Report Share Posted March 9, 2011 Hi! Support team. I am a person that plans to convert ChartFX for VS2005 to ChartFX for WPF within a few of months. So, I have some question about ChartFX for WPF to clear the path to new experience. First. We has used the functionality to select data on a chart with mouse by dragging like rectangle then retrive data relevant to index or Y value in ChartFX for VS2005. In ChartFX for WPF, is it possible like this? Second, We'd like to do something like jobs such as adding limit lines for available data on already displayed charts. In fact, It has been implemented in ChartFX for VS 2005 using GDI functions. Can we implement this function in ChartFX for WPF? In advance, thanks alot! Quote Link to comment Share on other sites More sharing options...
JuanC Posted March 9, 2011 Report Share Posted March 9, 2011 >> select data on a chart with mouse by dragging like rectangle then retrive data relevant to index or Y value This is possible, you need to use the Chart.Selection.StartMouseSelection method and supply a delegate that will be called after the user draws the selection rectangle. >> We'd like to do something like jobs such as adding limit lines for available data on already displayed charts. There are several ways to accomplish this, if you only need horizontal/vertical lines you can use Axis.CustomGridLines, we also support annotations where you can create visuals (lines, buttons, etc.) and attach them to logical positions in the chart. Finally we also support for you to handle an event to render additional elements in the chart, please note that because of the differences between GDI and WPF you will normally not paint on the screen but instead create logical items that are in turn templated into visuals. JuanC Quote Link to comment Share on other sites More sharing options...
MS.Yang Posted March 9, 2011 Author Report Share Posted March 9, 2011 Thanks! Very useful. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.