User (Legacy) Posted December 2, 2003 Report Share Posted December 2, 2003 Hi -- I am using WinForm ChartFX.net. I need to know a way to: 1.) When I zoom on a segment line graph, I do not want to see the scroll bars, both on X and Y axis. How do I disable scroll bars in this case? 2.) Is these a way to get the data set corresponding to the scrolled area programatically? I need this to do custom summary calculations based on zoomed data only. Any and all help appreciated. Ravi Patil Sensitech Inc Link to comment Share on other sites More sharing options...
Software FX Posted December 2, 2003 Report Share Posted December 2, 2003 1) To hide the scrollbars: chart1.Style &= ~ChartStyle.Scrollbars; 2) You mean the points displayed in the current view ? no, you can call GetScrollView (Axis object) to determine the current area and loop through the data to figure out which points are inside this range. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 2, 2003 Author Report Share Posted December 2, 2003 Item 2] The data fed to chartFX is from an XML string. Based on your suggestion once I get the area how do I use it to determine which elements from my XML string correspond the that area. Note when I zoom I do not have scroll bars, which I am disabling thru Scrollbars = false property setting. Also, when I restore back I must see all the data points again. If you have a sample example it would help. I am attaching my XML string. Thanks & appreciate your help. RP "SoftwareFX Support" <support@softwarefx.com> wrote in message news:Z626VkQuDHA.3808@WEBSERVER1... > 1) To hide the scrollbars: > > chart1.Style &= ~ChartStyle.Scrollbars; > > > > 2) You mean the points displayed in the current view ? no, you can call > GetScrollView (Axis object) to determine the current area and loop through > the data to figure out which points are inside this range. > > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Software FX Posted December 3, 2003 Report Share Posted December 3, 2003 > The data fed to chartFX is from an XML string. Based on your suggestion once > I get the area how do I use it to determine which elements from my XML > string correspond the that area. You can get the data from the chart using the Value property. You don't need to go back to the XML. > Note when I zoom I do not have scroll bars, > which I am disabling thru Scrollbars = false property setting. Also, when I > restore back I must see all the data points again. I don't see a question here. All the point will be shown again when Zoom is set back to false either via the toolbar button or by code. >If you have a sample example it would help An example of what ? of going through the data comparing with the current range. No I don not have a sample of that but it should be pretty straight forward. -- FP Software FX, Inc. sampleData.txt Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.